How do you use a macro to delete the first word of every line?
Answer
qa0dwjq
Explanation
Record a macro that goes to the start of line with 0, deletes the first word with dw, and moves down with j. Repeat across lines.
qa0dwjq
Record a macro that goes to the start of line with 0, deletes the first word with dw, and moves down with j. Repeat across lines.