How can I repeat the last VIM macro?

Solution 1:

Yes, you can use @@ to replay the last used macro.

As a bonus, use @: to replay the last ex command. (And then that becomes the "last used macro" that can be repeated with @@.)

Solution 2:

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

:map , @@