Skip to content

Commit

Permalink
Add esc map for Vim terminal mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan van der Gaag authored and avdgaag committed Sep 3, 2018
1 parent 4dbfd8d commit f306277
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions home/.config/nvim/init.vim
Expand Up @@ -50,6 +50,10 @@ nnoremap <leader><leader> <c-^>
" Hide search highlights
nnoremap <leader>h :set invhls<CR>
" Escape from terminal mode to normal mode using Esc
tnoremap <Esc> <C-\><C-n>
tnoremap <C-v><Esc> <Esc>
" EasyAlign
xmap ga <Plug>(EasyAlign)
nmap ga <Plug>(EasyAlign)
Expand Down

0 comments on commit f306277

Please sign in to comment.