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,138
  • 14
  • 95
  • 164
D. Richard
  • 384
  • 2
  • 11

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,037
  • 1
  • 11
  • 23