diff options
| author | Damjan 9000 <damjan.9000@gmail.com> | 2024-04-17 21:25:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-17 15:25:54 -0400 |
| commit | 2cb55b419f9d47f052a998eda43718143d1095ce (patch) | |
| tree | 8154f9ddd7edb6fd87ce6a5907eb8f85acc950bd /nvim/lua/kickstart/plugins/neo-tree.lua | |
| parent | bddd76c1f92c9155d064b48eeb7d9d3579ad6976 (diff) | |
| download | dots-2cb55b419f9d47f052a998eda43718143d1095ce.tar.gz | |
Move plugin examples from README to optional plugin files (#831)
* Move autopairs example from README to an optional plugin
* Move neo-tree example from README to an optional plugin
Diffstat (limited to 'nvim/lua/kickstart/plugins/neo-tree.lua')
| -rw-r--r-- | nvim/lua/kickstart/plugins/neo-tree.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nvim/lua/kickstart/plugins/neo-tree.lua b/nvim/lua/kickstart/plugins/neo-tree.lua new file mode 100644 index 0000000..c793b88 --- /dev/null +++ b/nvim/lua/kickstart/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', + }, + cmd = 'Neotree', + keys = { + { '\\', ':Neotree reveal<CR>', { desc = 'NeoTree reveal' } }, + }, + opts = { + filesystem = { + window = { + mappings = { + ['\\'] = 'close_window', + }, + }, + }, + }, +} |