Add keymap for ESC in terminal mode

Use ESC to retrun to normal mode in terminal
This commit is contained in:
Markus Ullmann 2023-10-18 08:51:23 +02:00 committed by Markus Ullmann
parent bf10c7c5f0
commit b9b81b8aa7
1 changed files with 2 additions and 3 deletions

View File

@ -46,6 +46,5 @@ map('n', '<Space>bd', '<Cmd>BufferOrderByDirectory<CR>', opts)
map('n', '<Space>bl', '<Cmd>BufferOrderByLanguage<CR>', opts) map('n', '<Space>bl', '<Cmd>BufferOrderByLanguage<CR>', opts)
map('n', '<Space>bw', '<Cmd>BufferOrderByWindowNumber<CR>', opts) map('n', '<Space>bw', '<Cmd>BufferOrderByWindowNumber<CR>', opts)
-- Other: -- map <Esc> to exit terminal-mode
-- :BarbarEnable - enables barbar (enabled by default) map('t', '<Esc>', '<C-\\><C-n>', opts)
-- :BarbarDisable - very bad command, should never be used