title: How to exclude file patterns in vimgrep?
body: <p>In vim, I do search with vimgrep frequently. I have mapping like below:</p>
  
  <pre><code>map &lt;leader&gt;s :execute "noautocmd vimgrep /\\&lt;" . expand("&lt;cword&gt;") . "\\&gt;/gj **/*.*" &lt;Bar&gt; 
  cw&lt;CR&gt; 5
  </code></pre>
  
  <p>The problem is that there are some temporary subfolders (like obj, objd) that I don't want to search for. How can I exclude subfolders matching given patterns. For example, subfolders with prefix "objd" should not be included in searching.</p>