Add Ctrl-h and Ctrl-l to skip words

This commit is contained in:
Talia 2019-02-01 10:59:48 +01:00
parent c2476a54fa
commit 917a8e63d5

2
vimrc
View file

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