Getting arrow keys to behave themselves in vi

Standard

When editing files in vi over ssh I’ve found that the arrow keys invariably don’t work. The terminal just beeps at me. To overcome this problem add the following to your ~/.vimrc file:

set term=ansi
Advertisements