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.
Written by Allan MacGregor
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#