2024-04-18 03:25:54 +08:00
|
|
|
-- Neo-tree is a Neovim plugin to browse the file system
|
|
|
|
-- https://github.com/nvim-neo-tree/neo-tree.nvim
|
|
|
|
|
|
|
|
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 = {
|
2024-07-22 04:22:10 +08:00
|
|
|
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal' },
|
2024-04-18 03:25:54 +08:00
|
|
|
},
|
|
|
|
opts = {
|
|
|
|
filesystem = {
|
|
|
|
window = {
|
|
|
|
mappings = {
|
|
|
|
['\\'] = 'close_window',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|