nvim: add separate config files for most plugins
This commit is contained in:
parent
9db80c9673
commit
04dacde028
25 changed files with 294 additions and 291 deletions
10
modules/programs/nvim/plugins/nvim-tree-lua.lua
Normal file
10
modules/programs/nvim/plugins/nvim-tree-lua.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
-- disable netrw at the very start of your init.lua (strongly advised)
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
-- set termguicolors to enable highlight groups
|
||||
vim.opt.termguicolors = true
|
||||
-- empty setup using defaults
|
||||
require("nvim-tree").setup()
|
||||
require("which-key").register({
|
||||
t = { "<cmd>NvimTreeFindFileToggle<cr>", "nvim tree" },
|
||||
}, { prefix = "<leader>t", silent = true })
|
||||
Loading…
Add table
Add a link
Reference in a new issue