Created
October 19, 2014 13:32
-
-
Save shadowhand/bddda0cbc24e836990b2 to your computer and use it in GitHub Desktop.
Disable arrow keys 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
" stop using arrow keys! | |
inoremap <Up> <NOP> | |
inoremap <Down> <NOP> | |
inoremap <Left> <NOP> | |
inoremap <Right> <NOP> | |
noremap <Up> <NOP> | |
noremap <Down> <NOP> | |
noremap <Left> <NOP> | |
noremap <Right> <NOP> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment