How do you use a macro to prepend text from a register to each line?
Answer
qaI<C-r>a<Esc>jq
Explanation
Record a macro that inserts the contents of register a at the start of each line using <C-r>a in insert mode, then moves down.
qaI<C-r>a<Esc>jq
Record a macro that inserts the contents of register a at the start of each line using <C-r>a in insert mode, then moves down.