When I open a new file using vi
command:
vi <new file name>
After entering into file and typing the data I am getting the characters like A
, B
, C
, D
when I use <
, >
arrows in order to move up the line or down the line
Alternative way to solve this is by creating a vimrc file:
# vi ~/.vimrc
And adding the following line in it:
set nocompatible
This should fix your issue.
I solved it by installing vim
:
sudo apt-get install vim
vi
is smaller so is installed by default; most of us grabvim
even if we don't use vim's extra features - because we aren't still in the 70s or early 80s. – guiverc May 19 '18 at 06:42