Created
March 17, 2014 15:19
-
-
Save farfanoide/9601196 to your computer and use it in GitHub Desktop.
faster selections in visual mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" faster selections in visual mode | |
let g:multi_line_jump=6 | |
execute "vnoremap J ".g:multi_line_jump."j" | |
execute "vnoremap K ".g:multi_line_jump."k" | |
function! SetMultiLineJump(jump_size) | |
execute "vnoremap J ".a:jump_size."j" | |
execute "vnoremap K ".a:jump_size."k" | |
endfunction | |
command! -nargs=1 SetMultiLineJump call SetMultiLineJump(<f-args>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment