From 4571a8c919fca07dfd9d786128838e73acd9b09a Mon Sep 17 00:00:00 2001 From: Kert Kukk Date: Sat, 8 Feb 2025 12:45:12 +0200 Subject: [PATCH] Add keymap to toggle NeoTree file explorer --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 1a18d881..8c927908 100644 --- a/init.lua +++ b/init.lua @@ -84,6 +84,9 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the left wind vim.keymap.set('n', '', '', { desc = 'Move focus to the right window' }) vim.keymap.set('n', '', '', { desc = 'Move focus to the lower window' }) vim.keymap.set('n', '', '', { desc = 'Move focus to the upper window' }) +-- +-- Toggle NeoTree file explorer +vim.keymap.set('n', 'e', 'Neotree toggle', { desc = 'Toggle file [E]xplorer' }) -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands`