diff --git a/lua/custom/plugins/filetree.lua b/lua/custom/plugins/filetree.lua index c100ccb..f770afc 100644 --- a/lua/custom/plugins/filetree.lua +++ b/lua/custom/plugins/filetree.lua @@ -15,11 +15,13 @@ return { }, }, filesystem = { - bind_to_cwd = true, -- true creates a 2-way binding between vim's cwd and neo-tree's root - follow_current_file = true, + cwd_target = { + sidebar = 'tab', + current = 'window', + }, }, }, keys = { - { 'e', 'Neotree toggle', desc = 'FileTree' }, + { 'e', 'Neotree toggle reveal', desc = 'FileTree' }, }, }