If you use vi to edit files and try to use the arrow keys on Insert Mode, you may get ABCD characters instead, Annoying! The solution is to run vi like this

$> vi -u NONE -N yourfilehere

To simplify things you can add an alias the .bashrc file

alias vi='vi -u NONE -N yourfilehere'