The Greatest Linux Blog on the Internets. » read post

Fixing the arrow keys in Vim

  • October 31st, 2007

Are your Vim / Vi arrow keys making A,C, B etc characters instead of moving around in insert (’i') mode ?

Try typing this … it fixes it for me:

:set nocompatible

Or, add the line:

set nocompatible

to your ~/.vimrc file.


Related posts:

  • Edit remote files over SSH / SCP using GVim
  • Replacing tabs with spaces in Python code
  • Ubuntu Gutsy Gibbon 7.10 on a Dell Vostro 1500 laptop
  • Trackback URL for this post: http://linuxblog.pansapiens.com/2007/10/31/fixing-the-arrow-keys-in-vim/trackback/

    Want your say?

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>