title: Force GVim to prompt before close
body: <p>I've been making a transition to GVim lately, because I find it to be more aesthetically pleasing and a little bit faster then vim in the terminal. I have this really bad habit that I'm trying to break. When I used vim from the command line my work flow was like this:</p>
  
  <pre><code>vim filename.txt
  # make some edits
  ZZ
  # do other stuff
  vim otherfile.txt
  # make some edits
  ZZ
  </code></pre>
  
  <p>Now using GVim, I end up closing the editor far too frequently. I'm wondering if there is a way to force just GVim to either prompt me or open an empty buffer when I do a <code>:wq</code> or <code>ZZ</code>. Any ideas?</p>
  
  <p>EDIT: I know how to remap keys, but I'm wondering if there is a way to force GVim to have a different behavior then when vim is called from the command line.</p>