mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 22:47:25 +01:00
26 lines
613 B
Lua
26 lines
613 B
Lua
vim.cmd [[ let g:neo_tree_remove_legacy_commands = 1 ]]
|
|
|
|
return {
|
|
'nvim-neo-tree/neo-tree.nvim',
|
|
branch = 'v3.x',
|
|
dependencies = {
|
|
'nvim-lua/plenary.nvim',
|
|
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
|
|
'MunifTanjim/nui.nvim',
|
|
},
|
|
opts = {
|
|
window = {
|
|
mappings = {
|
|
['<space>'] = 'none',
|
|
},
|
|
},
|
|
filesystem = {
|
|
bind_to_cwd = true, -- true creates a 2-way binding between vim's cwd and neo-tree's root
|
|
follow_current_file = true,
|
|
},
|
|
},
|
|
keys = {
|
|
{ '<leader>e', '<cmd>Neotree toggle<cr>', desc = 'FileTree' },
|
|
},
|
|
}
|