nvim: add nvim tree

dev-docs
Moritz Böhme 2023-02-19 13:23:49 +01:00
parent d99a52fb0e
commit 16a579b6b3
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
2 changed files with 12 additions and 0 deletions

View File

@ -76,6 +76,7 @@ in
nvim-cmp
nvim-lspconfig
nvim-surround
nvim-tree-lua
nvim-treesitter-textsubjects
nvim-treesitter.withAllGrammars
nvim-ts-context-commentstring

View File

@ -448,3 +448,14 @@ require("nvim-lastplace").setup({
})
require("nvim-autopairs").setup({})
-- 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()
wk.register({
t = { "<cmd>NvimTreeFindFileToggle<cr>", "nvim tree" },
}, { prefix = "<leader>t", silent = true })