Comment Re:Replacement (Score 1) 702
A related tool is to record a sequence of commands in the registers and then execute them. The following records some commands in register 1. (Start with q1 and end with q)
q1
"do some actions"
q
@1 will then execute contents of register 1. 10@1 will execute them 10 times and so on
See also "complex-repeat" in vim help