This repository has been archived on 2023-12-28. You can view files and clone it, but cannot push or open issues or pull requests.
nvim-config/lua/plugins/neo-tree.lua

19 lines
345 B
Lua
Raw Permalink Normal View History

2023-01-25 15:11:51 +01:00
return {
'nvim-neo-tree/neo-tree.nvim',
cmd = 'Neotree',
branch = 'v2.x',
keys = {
{ '<leader>ft', '<cmd>Neotree toggle<cr>', desc = 'NeoTree' },
},
dependencies = {
'nvim-lua/plenary.nvim',
'MunifTanjim/nui.nvim',
},
config = {
filesystem = {
follow_current_file = true,
hijack_netrw_behavior = 'open_current',
},
},
}