Paul Maunders | Web log
Economics, Business, Telecoms, Tech and Gadgets

Fixing the arrow and delete keys in Vim on OS X

October 25th, 2007 by admin

One thing that has frustrated me for the past year and half that I have been a Mac user, is the fact that the arrow keys behave strangely in vim’s insert mode. Instead of moving you around the document, they insert an A,B,C or D character followed by a newline. Further more, the delete key doesn’t work. Anyway, I had finally had enough tonight, and so I searched the web for a solution.

The fix turned out to be incredibly easy….

cp /usr/share/vim/vim62/vimrc_example.vim ~/.vimrc

Posted in apple

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.