In case your arrow keys do not work as usual when you enter in “insert” mode try this:

:set nocompatible

And if this fixes the problem add:

set nocompatible

to your ~/.vimrc file.

I had this problem in FreeBSD 7.0 and this fixed it.

Found here.


3 Responses to “Fixing vim/vi arrow keys behavior”

  1. hari on February 26th, 2009 9:29 pm

    Thanks a lot for the tip :). Have been long wondering what to do about this.

  2. Bhumika on June 4th, 2009 1:41 am

    Thanks a lot !!

    I was really baffled by this.

  3. gonzalo bahamodez on February 21st, 2014 11:14 pm

    Tanks a lot!

Leave a Reply

You must be logged in to post a comment.