How can I repeat the last VIM macro?

Viewed 8046

I know how to repeat the last command in Vim. I use ..

But how can I repeat the last macro? It's a little non-comfortable to press @q everytime I want to repeat it.

I tried with . but it just repeats the last command from the macro.

Is there a shorter way of doing that?

2 Answers

I find @@ a bit hard to type and as I don't use , much - and it's close enough to .:

:map , @@
Related