28

I accidentally pressed qq, and now the status line says recording. What does that mean? How do I get out of this "recording" mode?

Pressing Esc doesn't work.

Doorknob
  • 15,237
  • 3
  • 48
  • 70
200_success
  • 9,549
  • 5
  • 51
  • 64

1 Answers1

38

q is the command to begin the recording of a macro. By pressing qq you have told Vim to record a macro and store it in the register q. To stop Vim to record the macro, and thus to make the message recording disappear, you have to stop the recording by pressing q again. See :help recording for more details.

toro2k
  • 4,882
  • 1
  • 31
  • 35