title: How do I search the open buffers in Vim?
body: <p>I'd like to search for text in all files currently open in vim and display all results in a single place. There are two problems, I guess:</p>
  <ul>
  <li>I can't pass the list of open files to <code>:grep</code>/<code>:vim</code>, especially the names of files that aren't on the disk;</li>
  <li>The result of <code>:grep -C 1 text</code> doesn't look good in the quickfix window.</li>
  </ul>
  <p>Here is a nice example of multiple file search in Sublime Text 2:<img src="https://i.stack.imgur.com/mCi09.png" alt="enter image description here" /></p>
  <p>Any ideas?</p>