diff options
Diffstat (limited to 'home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua')
-rw-r--r-- | home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua b/home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua new file mode 100644 index 0000000..c706789 --- /dev/null +++ b/home/common/modules/neovim/config/lua/pacman/plugins/neo-tree.lua @@ -0,0 +1,25 @@ +-- 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', + }, + lazy = false, + keys = { + { '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true }, + }, + opts = { + filesystem = { + window = { + mappings = { + ['\\'] = 'close_window', + }, + }, + }, + }, +} |