Tuesday, 13 August 2013

Vim -- map a command to search results

Vim -- map a command to search results

I'd like to perform the action dd to every result of a search. For
example, in a Javascript file I'd like to perform dd on each line
corresponding to the results of /console.
Is there a quick and simple way to do this?

No comments:

Post a Comment