Suppose caret is on the line 10
and I've recorded macros @d
.
I need to replay macros until line 25. If I know that macros move caret one line per execution, I can calculate that it should be executed 25 - 10 = 15
times.
So the command will be 15@d
.
But is it possible to use something like 'until line':
:15@d