nvim: Revert back to use of ESC key
Now that we use a 60% tenkeyless mechanical keyboard it is easier to reach the ESC key and use it. Also it seems sometimes hitting jk pretty fast to escape does not work so easily on the mechanical keyboard. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
452e24ede4
commit
957b588f15
1 changed files with 0 additions and 5 deletions
|
@ -195,11 +195,6 @@ 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 ; :
|
||||||
|
|
Loading…
Reference in a new issue