0

Can someone please tell me why do I get these weird characters as I type in my command line? If I press down a key I get ^[ and things like it.

Also, how can I quit vim mode? I can't click anywhere or make changes to the text. commandline

Rowland Shaw
  • 37,700
  • 14
  • 97
  • 166
D. Richard
  • 460
  • 3
  • 12

1 Answers1

0

This happens because you are in insert mode and it is expecting characters, so it converts the up and down buttons to those characters.

To quit vim:

Hit the Esc key; that goes into command mode. Then you can type

  • :q to quit (short for :quit)

You can find more info here.

Community
  • 1
  • 1
Rafael Costa
  • 1,291
  • 2
  • 13
  • 30