Last Updated: February 25, 2016
· amacgregor

Train Yourself and Ban the arrow keys

A few weeks ago I started using vim over the weekend for developing personal projects, learning vim has been a challenging experience.

Among of the top annoyances of making the switch to vim was that more often than not I found myself trying to use the arrow keys for navigation.

To solve that I added the following mappings to my .vimrc

" Forbidden to user Arrows
map <Left> <Nop>
map <Right> <Nop>
map <Up> <Nop>
map <Down> <Nop>

So far this has worked amazingly well and has forced me to learn proper vim navigation.