summaryrefslogtreecommitdiff
diff options
context:
space:
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>