Last Updated: February 25, 2016
·
298
· cmaureir

Force yourself to not use the arrow keys in Vim

Add in your .vimrc

nnoremap <up> <nop>
nnoremap <down> <nop>
nnoremap <left> <nop>
nnoremap <right> <nop>
inoremap <up> <nop>
inoremap <down> <nop>
inoremap <left> <nop>
inoremap <right> <nop