Created
July 31, 2017 13:54
-
-
Save sergio1990/df72bde3c1012daaee1b2cccfdbe4bcd 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
" Disable Arrow keys in Escape mode | |
map <up> <nop> | |
map <down> <nop> | |
map <left> <nop> | |
map <right> <nop> | |
" Disable Arrow keys in Insert mode | |
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