title: Resize window in vim with a keyboard map
body: <p>I am trying to set the <code>+</code> and <code>_</code> keys to increase or decrease the size of a window pane in vim. Here is what I have so far in my <code>.vimrc</code>:</p>
  
  <pre><code> nnoremap + :res +5
   nnoremap _ :res -5
  </code></pre>
  
  <p>However it doesn't appear to work. What would be the proper way to map the resize pane in vim? Also, is there a way to press <code>[enter]</code> automatically after entering the command so that it executes automatically?</p>