title: How to do search & replace with ack in vim?
body: <p>I am using the Ack plugin in Vim, which helps me to quickly search for strings in my project. However, sometimes I want to replace all or some occurrences of the found strings. You can do some kind of global search and replace using the Vim arglist like this (<a href="http://www.ibrahim-ahmed.com/2008/01/find-and-replace-in-multiple-files-in.html" rel="noreferrer">source</a>)
  :</p>
  
  <pre><code>:args app/views/*/*
  :argdo %s/, :expire.*)/)/ge | update
  </code></pre>
  
  <p>But instead of using <code>args</code>, I would prefer to do a search via Ack and then do the replace in all files that have been found. Is there a way to do it similar to the <code>argdo</code> command?</p>