Fixing Vi and Arrows in Insert Mode

Meta: January 20th 2010 // Technology // 24 views

Recently I moved one of my sites onto another server, different installation. I noticed when i was working in Vi in insert mode my arrow keys would insert their values instead of navigating around the text. To fix this:

  • Make a new file in your home directory valled .vimrc
  • Inside it put in:

    :set backspace=indent,eol,start
    :set term=builtin_ansi

Now that global setting should be applied whenever you are working with files in vi and your cursor navigation troubles should be no more!

Tags: , , , , , ,

WeDecal.com

Postscript: Leave A Comment // Subscribe (RSS Feed)

Want To Be Heard? Comment Here!

// I Love Comments, Especially Nice Ones

Who Are You?

Your Email Address

Your Website

:D :) :o :eek: :( :lol: :wink: :arrow: :idea: :?: :!: :evil: :p

You can follow any responses to this entry via its RSS comments feed. You may also leave a trackback by clicking this link.