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.

  • 3
    Can't you just read :help recording? – romainl Feb 3 '15 at 21:10
  • 7
    @romainl That's obvious in retrospect, but not to someone who is stuck. – 200_success Feb 3 '15 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 '15 at 15:21
  • 2
    @200_success :help recording isn't obvious, but :help q is and leads to the same place. – Gilles 'SO- stop being evil' Feb 4 '15 at 15:23

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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