title: How to delete all empty buffers in Vim?
body: <p>I have something like 120 buffers open in Vim right now. About 50% of these buffers are empty files. I would like to somehow use the <code>:bufdo!</code> command to close all the buffers that are empty. Is there a way I can say:</p>
  <pre><code>:bufdo! ‹cmd›
  </code></pre>
  <p>Where <code>‹cmd›</code> is a conditional command that <code>:bdelete</code>s the current buffer <em>if</em> the length/size of that buffer is zero?</p>