kickstart.nvim/lua/custom/plugins/filetree.lua

17 lines
473 B
Lua
Raw Normal View History

2023-04-10 14:39:08 +05:30
-- Unless you are still migrating, remove the deprecated commands from v1.x
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
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",
},
config = function ()
2023-04-11 19:04:49 +05:30
require('neo-tree').setup{}
2023-04-10 14:39:08 +05:30
end,
2023-04-11 19:04:49 +05:30
vim.keymap.set('n', '<C-b>', '<Cmd>Neotree toggle<CR>')
2023-04-10 14:39:08 +05:30
}