Vim Recording mode and how to turn it off when you accidentally turn it on.

Hitting q<letter> puts vim in recording mode with the letter being the register it records to.

Hit q again to exit recording mode and then @<letter> to replay.

Help doc :h recording

https://www.thegeekstuff.com/2009/01/vi-and-vim-macro-tutorial-how-to-record-and-play/

http://vim.wikia.com/wiki/Recording_keys_for_repeated_jobs

http://vim.wikia.com/wiki/Macros

http://blakesmith.me/2009/09/16/using-vim-recording.html

Share: