Skip to content

Commit

Permalink
Allow vim terminal to ESC
Browse files Browse the repository at this point in the history
  • Loading branch information
dhvcc committed Jul 2, 2024
1 parent 35861b1 commit b314679
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
" TODO: fix comments

:tnoremap <Esc> <C-\><C-n>
:tnoremap <expr> <C-R> '<C-\><C-N>"'.nr2char(getchar()).'pi'

" Escape with jk in insert mode
inoremap jk <ESC>
Expand Down

0 comments on commit b314679

Please sign in to comment.