title: How to search across a directory of files in vim?
body: <p>A common programming task for me in vim is:</p>
  
  <pre><code>:s/some pattern/
  </code></pre>
  
  <p>do some work</p>
  
  <p><code>n #</code> finds the next entry</p>
  
  <p>do some work</p>
  
  <p><code>n #</code> finds the next entry
  ...</p>
  
  <p>Now, <code>s/....</code> only searches in the current file.</p>
  
  <p>Is there a way I can do this, but search across a <em>directory</em> of files? Say do "s/..../" over all files in subdirectoires of <code>pwd</code> that ends in <strong><em>.hpp</strong> of <strong></em>.cpp</strong> ?</p>
  
  <p>Thanks!</p>