Vim users, tell me how many times you remember looking down at your status bar and unexpectedly seeing recording
in bold green. It's been recording your keystrokes since you-dont-know-when.
This has happened to me no less than twenty times by now. I don't know how it is even possible for me to press q so often, and it's somewhat a possibility that some errant plugin bind is resulting in an unterminated macro recording.
It occurs to me that the best thing would be if there was somehow a way to bind an escape keystroke that aborts the recording and restores the content of whatever register I happen to be accidentally recording over.
But that's really going above and beyond. I'd simply like to know which register it is that I happen to be currently recording over. Maybe I'll go take a peek at it to see how long its been recording for. Or I'll go and clear it out to keep everything nice and tidy.
Is this even possible?
:reg
. Probably not the answer you are looking for, but really all I need.:reg
to hunt that down. It's not a direct answer to the question but it's a little bit better than nothinga
,b
) and different ones for macros (q
,w
). Even more interesting I also carry this trend of using only certain lettres for marks (m
,n
). So I doubt you will really need to look very hard when you use:reg
. Not to mention one typically uses a register close the the time of a yank or recording. Best advice: become a better typist. Secondary advice: Just use:reg