From b9b81b8aa769ca2ef8afd7f05f3ca15cbbbe04cf Mon Sep 17 00:00:00 2001 From: Markus Ullmann Date: Wed, 18 Oct 2023 08:51:23 +0200 Subject: [PATCH] Add keymap for ESC in terminal mode Use ESC to retrun to normal mode in terminal --- lua/keymaps.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lua/keymaps.lua b/lua/keymaps.lua index f6d5757d..75ee80aa 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -46,6 +46,5 @@ map('n', 'bd', 'BufferOrderByDirectory', opts) map('n', 'bl', 'BufferOrderByLanguage', opts) map('n', 'bw', 'BufferOrderByWindowNumber', opts) --- Other: --- :BarbarEnable - enables barbar (enabled by default) --- :BarbarDisable - very bad command, should never be used +-- map to exit terminal-mode +map('t', '', '', opts)