VIM quick fix (for arrow keys in insert mode)

When using VIM in insert mode, when I try and move around with the arrow keys, it inserts A, B, C and D instead. Not completely sure why, but typing:

:set nocompatible

seems to fix the problem. You can make this permanent by sticking

set nocompatible

in .vimrc in your home directory. Anyone know why?!







One response to “VIM quick fix (for arrow keys in insert mode)”

  1. visit…

    […]while the sites we link to below are completely unrelated to ours, we think they are worth a read, so have a look[…]…

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.