Hot answers tagged


I'm not sure if you can do this with rectangular regions, but it's a perfect situation for multiple cursors: Fundamentals of multiple-cursors In your case, starting with point before foobar1, call M-x set rectangular-region-anchor, navigate to the next line until you have a point before every foobar. Then ...

Only top voted, non community-wiki answers of a minimum length are eligible