init: Added esc as a terminal normal mode rebind
authorLukas Krickl <lukas@krickl.dev>
Sun, 11 May 2025 08:22:48 +0000 (10:22 +0200)
committerLukas Krickl <lukas@krickl.dev>
Sun, 11 May 2025 08:22:48 +0000 (10:22 +0200)
nvim/init.vim

index a9814e14d0572e144c9e5c0eb063f5d583f06ed2..93aaf2170336ec8c8ed25e0916aab231a911248a 100644 (file)
@@ -42,6 +42,9 @@ nnoremap <leader>tr <C-t>
 " open tag in window 
 nnoremap <leader>tg <C-w><C-}> 
 
+" esc to exit terminal mode
+tnoremap <Esc> <C-\><C-n> 
+
 " custom command
 
 " save session