Revert "nvim: Revert back to use of ESC key"
This reverts commit 957b588f15
.
This commit is contained in:
parent
18292749c1
commit
a4782833f4
1 changed files with 5 additions and 0 deletions
|
@ -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 ; :
|
||||||
|
|
Loading…
Reference in a new issue