Created
December 16, 2010 15:23
-
-
Save benkant/743515 to your computer and use it in GitHub Desktop.
Disable arrow keys in Vim
This file contains hidden or 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
" Using arrow keys is far too ingrained in my muscle memory. | |
" This goes into my ~/.vimrc to force my hand | |
map <up> <nop> | |
map <down> <nop> | |
map <left> <nop> | |
map <right> <nop> | |
imap <up> <nop> | |
imap <down> <nop> | |
imap <left> <nop> | |
imap <right> <nop> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment