mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2026-05-14 16:33:47 +00:00
21 lines
545 B
Lua
21 lines
545 B
Lua
-- Neo-tree is a Neovim plugin to browse the file system
|
|
-- https://github.com/nvim-neo-tree/neo-tree.nvim
|
|
|
|
vim.pack.add {
|
|
{ src = 'https://github.com/nvim-neo-tree/neo-tree.nvim', version = vim.version.range '*' },
|
|
'https://github.com/nvim-lua/plenary.nvim',
|
|
'https://github.com/MunifTanjim/nui.nvim',
|
|
}
|
|
|
|
vim.keymap.set('n', '\\', '<Cmd>Neotree reveal<CR>', { desc = 'NeoTree reveal', silent = true })
|
|
|
|
require('neo-tree').setup {
|
|
filesystem = {
|
|
window = {
|
|
mappings = {
|
|
['\\'] = 'close_window',
|
|
},
|
|
},
|
|
},
|
|
}
|