title: pipe search result to other tab/window/buffer in VIM
body: <p>I found a nice feature of VIM search, i.e. listing all search results and the corresponding line numbers.</p>
  
  <p>For example:</p>
  
  <pre><code>:g/for.*bar/#
  </code></pre>
  
  <p>Question: Is there an "easy" way to pipe/put this into another window/tab/buffer? </p>
  
  <p>Cheers!</p>