remapping jk to esc and disabling esc
This commit is contained in:
@@ -160,6 +160,10 @@ set laststatus=2 " show the satus line all the time
|
||||
"
|
||||
nnoremap K :q<cr>
|
||||
|
||||
" remap esc and disable to force learning
|
||||
inoremap jk <esc>
|
||||
inoremap <esc> <nop>
|
||||
|
||||
" remove extra whitespace
|
||||
nmap <leader><space> :%s/\s\+$<cr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user