Revert "nvim: Revert back to use of ESC key"

This reverts commit 957b588f15.
This commit is contained in:
Sanchayan Maity 2020-01-25 09:00:20 +05:30
parent 18292749c1
commit a4782833f4

View file

@ -195,6 +195,11 @@ if maparg('<C-L>', 'n') ==# ''
nnoremap <silent> <C-L> :nohlsearch<CR><C-L> nnoremap <silent> <C-L> :nohlsearch<CR><C-L>
endif endif
" Remap escape keys to something usable on home row
inoremap jk <Esc>
cnoremap jk <C-C>
inoremap <Esc> <Nop>
cnoremap <Esc> <Nop>
" Use ; for commands. " Use ; for commands.
nnoremap ; : nnoremap ; :
vnoremap ; : vnoremap ; :