Vim

Hitting arrow keys but shows A B C D in VIM

If you press up, down, left, or right arrow key, but VIM maps to A, B, C, D characters, it is very likely you don't have a  .vimrc file in your home directory, or didn't turn off VIM's compatible mode.

To fix this problem, create a  .vimrc file in your home directory if you don't already have:

vim ~/.vimrc

Then add this line to the top of the file:

set nocompatible

Still need help? Contact Us Contact Us