@
The
Command
The @ command in Vim
Command
play macro
Execute the macro stored in register
{a-z}. Use @@ to repeat the last macro. To edit a macro: :let @q=' then Ctrl-r Ctrl-r q to paste it, edit, close quote and press Enter.Examples
@q(run macro q)@@(repeat last macro)5@q(run 5 times):let @q='...' (edit macro)
Reference
Learn every Vim command visually — right in your browser.
Add Vim What? to Chrome — FreeAlso on Firefox.
Related commands