diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index 22d543d..213a452 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -17,6 +17,15 @@ return { { "nvim-neo-tree/neo-tree.nvim", + keys = { + { + "E", + function() + require("neo-tree.command").execute({action="show", reveal=true}) + end, + desc = "NeoTree: reveal file", + }, + }, opts = { event_handlers = { { @@ -26,6 +35,13 @@ return { end, }, }, + filesystem = { + bind_to_cwd = false, + follow_current_file = { + enabled = false, + leave_dirs_open = true, + }, + }, }, },