Add Ctrl-h and Ctrl-l to skip words
This commit is contained in:
parent
c2476a54fa
commit
917a8e63d5
1 changed files with 2 additions and 0 deletions
2
vimrc
2
vimrc
|
@ -450,6 +450,8 @@ nnoremap <leader>p :previous<CR>:args<CR>
|
||||||
let g:jmp_dist = 8
|
let g:jmp_dist = 8
|
||||||
map <C-j> :exec "normal ".g:jmp_dist."j"<CR>
|
map <C-j> :exec "normal ".g:jmp_dist."j"<CR>
|
||||||
map <C-k> :exec "normal ".g:jmp_dist."k"<CR>
|
map <C-k> :exec "normal ".g:jmp_dist."k"<CR>
|
||||||
|
nnoremap <C-h> b
|
||||||
|
nnoremap <C-l> e
|
||||||
" Yes, not 'noremap', do whatever is mapped to J and K assuming
|
" Yes, not 'noremap', do whatever is mapped to J and K assuming
|
||||||
" it is some sort of custom up-down motion, but g:jmp_dist times
|
" it is some sort of custom up-down motion, but g:jmp_dist times
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue