remapping jk to esc and disabling esc

This commit is contained in:
Nick Nisi
2012-06-20 22:12:41 -05:00
parent d95869a094
commit 78c5121c4d

View File

@@ -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>