mbp
This commit is contained in:
parent
ee0ee40cf3
commit
4095694799
7 changed files with 130 additions and 48 deletions
16
lua/custom/plugins/nvim-tree.lua
Normal file
16
lua/custom/plugins/nvim-tree.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
return {
|
||||
'nvim-tree/nvim-tree.lua',
|
||||
dependencies = {
|
||||
'nvim-tree/nvim-web-devicons', -- optional, for file icons
|
||||
},
|
||||
version = '*',
|
||||
lazy = false,
|
||||
config = function()
|
||||
require('nvim-tree').setup {
|
||||
sync_root_with_cwd = true,
|
||||
respect_buf_cwd = true,
|
||||
}
|
||||
-- Keybinding to toggle nvim-tree
|
||||
vim.keymap.set('n', '<leader>e', ':NvimTreeToggle<CR>', { desc = 'Toggle File Explorer (nvim-tree)' })
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue