From 44d511549718d6e4ec7d22975240b2ab87e1601a Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Thu, 6 Oct 2022 22:46:35 +0200 Subject: nvim: easy mapping to escape terminal mode --- .config/nvim/lua/mappings.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index 74f33b8..7859795 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua @@ -8,7 +8,8 @@ map('n', '', ':nohl', opts) map('n', 'n', 'nzzzv', opts) map('n', 'N', 'Nzzzv', opts) -- map('i', 'kj', '', opts) -map('t', 'kj', '', { noremap = true }) +-- map('t', 'kj', '', { noremap = true }) +map('t', '', '', { noremap = true }) map('i', ',', ',u', opts) map('i', '.', '.u', opts) -- cgit v1.2.3-70-g09d2