mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-14 04:53:49 +00:00
5e258d276f
* Move autopairs example from README to an optional plugin * Move neo-tree example from README to an optional plugin
26 lines
563 B
Lua
26 lines
563 B
Lua
-- 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',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|