title: Automatically insert a matching brace in Vim
body: <p>I spend <em>way</em> too much time fumbling around because Vim doesn't handle closing braces like most IDEs do. Here's what I want to happen:</p>
  
  <p>Type this:</p>
  
  <pre><code>if( whatever )
  { &lt;CR&gt;
  </code></pre>
  
  <p>and get this:</p>
  
  <pre><code>if( whatever )
  {
    |  
  }
  </code></pre>
  
  <p>where <code>&lt;CR&gt;</code> mean hit the <kbd>ENTER</kbd> key and <code>|</code> is the position of the cursor. This is what Eclipse does. It's what Visual Studio does. And it's what I want Vim to do.</p>
  
  <p>I've seen a few plugins, tried a few, and none of them seem to give me this behavior. Surely I can't be the first programmer to want this.</p>