title: What is the Vim command to quit all open windows?
body: <p><code>:q</code> only closes the current window. If you are using tabs or split windows, you need to do <code>:q</code> for all of them. Also, plugins like <strong>NERDTree</strong> and <strong>MiniBufExpl</strong> have their own windows, which need to be closed individually.</p>
  
  <p>Is there a command to quit all these open windows and quit Vim in a single stroke? However, if there is some buffer or window with unsaved changes, I should be asked to save it or not. Any command to achieve this?</p>
  
  <p>I hope this is not a strange request, because this is how most non-Vim editors with tab or splits work.</p>