When you need the same edit on many lines, but it is too fiddly for a substitute, record it once and let Vim replay it.
qa
A;<Esc>j
q
qa starts recording into register a. Everything you type is stored: here A; adds a semicolon at the end of the line, Escape leaves insert mode, and j moves down. The final q stops recording.
Now play it back:
@a
10@a
@@
@a runs it once, 10@a ten times, and @@ repeats the macro you ran last. Because the macro ends with j, every run leaves the cursor ready for the next line.
The trick to a reliable macro is to start and end in a predictable spot. I’d begin with 0 or ^ so the cursor position doesn’t matter, and use motions like f, or w instead of pressing l five times.
When a motion inside the macro fails, for example a search finds nothing or j hits the last line, Vim stops the whole run. That is actually useful: 999@a simply runs until it runs out of lines. Just keep an eye on what it does with u at hand.
Further reading: Vim help: recording, Vim help: @ register execution
Going deeper: Guide: advanced tmux, a config that grows with you, formats, layouts and more