From 37a8553df7d440507c3bc23a7cae1a3c8443205b Mon Sep 17 00:00:00 2001 From: dpearre Date: Sun, 6 Oct 2024 21:53:10 -0700 Subject: [PATCH] Add keyboard mapping for nvimtreetoggle --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 928f8083..8d1c09ed 100644 --- a/init.lua +++ b/init.lua @@ -209,6 +209,9 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the right win vim.keymap.set('n', '', '', { desc = 'Move focus to the lower window' }) vim.keymap.set('n', '', '', { desc = 'Move focus to the upper window' }) +-- Set keymap to toggle nvim-tree +vim.keymap.set('n', 'e', 'NvimTreeToggle', { desc = 'Toggle Nvim Tree' }) + -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands`