title: in vim, how to set "args" to the result of a "grep -l"?
body: <p>To illustrate, here's how to do it from the command-line:</p>
  
  <pre><code>vim `grep "hello" * -Rl`
  </code></pre>
  
  <p>This opens vim with all the files that have "hello" in them (-l gives the filenames alone). I want to do the same thing, but from within vim.  Conceptually, something like this (which doesn't work):</p>
  
  <pre><code>:args !grep "hello" * -Rl
  </code></pre>
  
  <p>I'm open to completely different approaches to achieve this; I'd just like it to be on one line (so it's easy to edit and redo).</p>
  
  <hr>
  
  <p>The answer is to simply use backticks - <em>but with a key proviso!</em>  The below does not work for me, because of the <strong>quotes</strong> around <code>hello</code>:</p>
  
  <pre><code>:args `grep "hello" * -Rl`
  </code></pre>
  
  <p>But it works if I remove them or escape the quotes:</p>
  
  <pre><code>:args `grep hello * -Rl`
  :args `grep \"hello\" * -Rl`
  </code></pre>
  
  <p>(this was buried in the comments after chaos' answer - I added them here to make them more visible, in case anyone else had this problem)</p>