4

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

muru
  • 207,228

2 Answers2

5

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.

rootameen
  • 126
3

I solved it by installing vim:

sudo apt-get install vim