title: Vim -- map a command to search results
body: <p>I'd like to perform the action <code>dd</code> to every result of a search. For example, in a Javascript file I'd like to perform <code>dd</code> on each line corresponding to the results of <code>/console</code>.</p>
  
  <p>Is there a quick and simple way to do this?</p>