3

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
  • 197,895
  • 55
  • 485
  • 740

2 Answers2

4

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
  • 116
3

I solved it by installing vim:

sudo apt-get install vim