diff options
Diffstat (limited to 'modules/tools/neovim/plugins/config/nvim-tree.lua')
| -rw-r--r-- | modules/tools/neovim/plugins/config/nvim-tree.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/tools/neovim/plugins/config/nvim-tree.lua b/modules/tools/neovim/plugins/config/nvim-tree.lua new file mode 100644 index 0000000..cdbef6a --- /dev/null +++ b/modules/tools/neovim/plugins/config/nvim-tree.lua @@ -0,0 +1,15 @@ +require("nvim-tree").setup { + filters = { + enable = false + }, + renderer = { + indent_markers = { + enable = true + }, + root_folder_label = function(path) + return vim.fn.fnamemodify(path, ":t") + end, + }, +}; + +vim.keymap.set("n", "<C-n>", ":NvimTreeToggle<CR>", { silent = true }); |
