Given a1, b1, c1, d1, e1 a2, b2, c2, d2, e2 I could do :g/,/normal 2nd$ to delete everything from second , onwards to give sth like a1, b1 a2, b2 It’s cool that :g can play keystrokes on matching lines, sort of like macro.