summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2022-07-10 12:06:01 -0500
committerBobby Bingham <koorogi@koorogi.info>2022-07-10 12:06:01 -0500
commit8c5ed5261492334eca4647080e98278af34889dc (patch)
treed4073b65119920698d78d18280117a1be921177a
parent4d1e79fe8026e77cdb97d0760176aa8305d48307 (diff)
nvim: easier key binding to exit terminal mode
-rw-r--r--nvim/.config/nvim/init.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index a741db2..2cc0d2e 100644
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -24,3 +24,6 @@ colorscheme OceanicNext
" display whitespace
set listchars=eol:↵,trail:⋅,tab:▷\ ,extends:◣,precedes:◢,nbsp:○
set list
+
+" allow <esc> to exit terminal-mode
+tnoremap <Esc> <C-\><C-n>