diff --git a/lua/custom/plugins/filetree.lua b/lua/custom/plugins/filetree.lua index d65821f1..76834975 100644 --- a/lua/custom/plugins/filetree.lua +++ b/lua/custom/plugins/filetree.lua @@ -10,7 +10,15 @@ return { "MunifTanjim/nui.nvim", }, config = function() - require('neo-tree').setup {} + require('neo-tree').setup { + window = { + mappings = { + [""] = "open_tabnew", + [""] = "open_split", + [""] = "open_vsplit", + } + } + } vim.keymap.set('n', 'a', [[:Neotree reveal_force_cwd]]) vim.keymap.set('n', 'A', [[:Neotree toggle reveal_force_cwd]])