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.

4
  • 3
    Can't you just read :help recording?
    – romainl
    Feb 3, 2015 at 21:10
  • 9
    @romainl That's obvious in retrospect, but not to someone who is stuck. Feb 3, 2015 at 21:11
  • This isn't strictly a "mode" in the Vim sense of the term, so I've edited out the [modes] tag.
    – Doorknob
    Feb 4, 2015 at 15:21
  • 2
    @200_success :help recording isn't obvious, but :help q is and leads to the same place. Feb 4, 2015 at 15:23

1 Answer 1

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.