nvim: init.vim: Remap escape keys
This commit is contained in:
parent
dfecf742a7
commit
5ab23c2bdd
1 changed files with 4 additions and 0 deletions
|
@ -148,6 +148,10 @@ 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>
|
||||||
" Use ; for commands.
|
" Use ; for commands.
|
||||||
nnoremap ; :
|
nnoremap ; :
|
||||||
" Use Q to execute default register.
|
" Use Q to execute default register.
|
||||||
|
|
Loading…
Reference in a new issue