- for ↓ I get B
- for ↑ I get A
- for ← I get D
- for → I get C
...and it's super annoying.
From my reading, this is how Vi behaves.
However, VIM is the successor to Vi. By default, it set to be in Vi-compatible mode, which includes this behavior for the arrow keys.
To remove the compatible mode, create a file named .vimrc in home directory add this line to the top of the file:
To remove the compatible mode, create a file named .vimrc in home directory add this line to the top of the file:
vim ~/.vimrc
set nocompatible
Save the file and this should fix the problem.