How do I run a macro on every line in a specific line number range?
:{range} normal @{reg}
The :normal command lets you execute Normal mode keystrokes over a range of lines.
:{range} normal @{reg}
The :normal command lets you execute Normal mode keystrokes over a range of lines.
:%normal A;
Use :%normal followed by normal mode keystrokes.