Created
December 24, 2018 08:51
-
-
Save Kirens/dc7ce82cbd9bef0bff37e66fa619f42c to your computer and use it in GitHub Desktop.
Dissable 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
" I need to forget arrows | |
noremap <Up> <NOP> | |
noremap <Down> <NOP> | |
noremap <Left> <NOP> | |
noremap <Right> <NOP> | |
vnoremap <Up> <NOP> | |
vnoremap <Down> <NOP> | |
vnoremap <Left> <NOP> | |
vnoremap <Right> <NOP> | |
inoremap <Up> <NOP> | |
inoremap <Down> <NOP> | |
inoremap <Left> <NOP> | |
inoremap <Right> <NOP> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment