Add sensible normal mode terminal binding

This commit is contained in:
Loic Nageleisen 2023-03-07 09:49:52 +01:00
parent 5ab60f0e0a
commit 42ba3d457f
Signed by: lloeki
GPG key ID: D05DAEE6889F94C2

5
vimrc
View file

@ -151,6 +151,11 @@ map <leader>p :Files<CR>
"xmap ( [
"xmap ) ]
" vim terminal sensible keys
" go to normal mode (leave with i)
tnoremap <Esc><Esc> <C-\><C-n>
" EasyAlign
xmap ga <Plug>(EasyAlign)
nmap ga <Plug>(EasyAlign)