nvim-lua.kickstart.nvim/lua/kickstart/plugins/neo-tree.lua

26 lines
574 B
Lua
Raw Normal View History

2024-09-20 23:47:43 +02: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',
2024-09-20 23:47:43 +02:00
version = '*',
dependencies = {
'nvim-lua/plenary.nvim',
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
'MunifTanjim/nui.nvim',
},
2024-09-20 23:47:43 +02:00
cmd = 'Neotree',
keys = {
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
},
opts = {
filesystem = {
window = {
mappings = {
2024-09-20 23:47:43 +02:00
['\\'] = 'close_window',
},
},
2024-09-20 23:47:43 +02:00
},
},
}