Last active
August 26, 2021 09:03
-
-
Save VernonGrant/2fc3c81191f2ff9bbe97c158da45ae5c to your computer and use it in GitHub Desktop.
Faster vertical movement in vim
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 up and down movement bindings. | |
nnoremap <C-k> :-5<CR> | |
inoremap <C-k> <Esc>:-5<CR> i | |
nnoremap <C-j> :+5<CR> | |
inoremap <C-j> <Esc>:+5<CR> i | |
nnoremap <C-Up> :-5<CR> | |
inoremap <C-Up> <Esc>:-5<CR> i | |
nnoremap <C-Down> :+5<CR> | |
inoremap <C-Down> <Esc>:+5<CR> i |
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
# Run the following commands in your terminal (Mac OS) to increate the key repeat rate. | |
# Normal minimum is 15 (225 ms) | |
defaults write -g InitialKeyRepeat -int 10 | |
# Normal minimum is 2 (30 ms) | |
defaults write -g KeyRepeat -int 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment