first commit
This commit is contained in:
parent
5bdde24dfb
commit
e3a11a0ba5
27 changed files with 890 additions and 952 deletions
24
lua/custom/plugins/neo-tree.lua
Normal file
24
lua/custom/plugins/neo-tree.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
return {
|
||||
'nvim-neo-tree/neo-tree.nvim',
|
||||
version = '*',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
|
||||
'MunifTanjim/nui.nvim',
|
||||
},
|
||||
cmd = 'Neotree',
|
||||
keys = {
|
||||
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
|
||||
},
|
||||
opts = {
|
||||
filesystem = {
|
||||
window = {
|
||||
mappings = {
|
||||
['\\'] = 'close_window',
|
||||
['<space>'] = { 'toggle_node', nowait = true },
|
||||
['P'] = { 'toggle_preview', config = { use_float = false } },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue