mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-09 03:03:50 +00:00
19 lines
546 B
Lua
19 lines
546 B
Lua
-- Unless you are still migrating, remove the deprecated commands from v1.x
|
|
vim.cmd [[ let g:neo_tree_remove_legacy_commands = 1 ]]
|
|
|
|
-- Open nvim-neo-tree window
|
|
vim.keymap.set({ 'n', 'v' }, '<leader>f', ':Neotree toggle<enter>', { desc = 'Explore [F]ile Tree' })
|
|
|
|
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()
|
|
require('neo-tree').setup {}
|
|
end,
|
|
}
|