How do you run a macro a specific number of times in Vim?
Answer
50@a
Explanation
Prefix the macro playback command with a count. 50@a runs macro a exactly 50 times. The macro stops early if it encounters an error.
50@a
Prefix the macro playback command with a count. 50@a runs macro a exactly 50 times. The macro stops early if it encounters an error.