I know that I can record macros with q<char>
and run them with @<char>
. I also know that I can run the last-used macro with @@
.
But @@
is two whole keystrokes! That's one too many! Especially if I'm running that macro a lot of times. I know about <num>@<char>
but what if I don't know <num>
in advance?
What I'm looking for, really, is something like an interactive search-and-replace (see Interactive search/replace regex in Vim?) that runs macros. Can this be done?