title: How to create an alias for a command in Vim?
body: <p>Vim is my preferred text editor when I program, and thus I always run into a particularly annoying issue.</p>
  <p>Frequently, when I quickly need to save the buffer and continue on to some other miscellaneous task, I do the typical</p>
  <pre><code>:w
  </code></pre>
  <p>However, I always — what seems to be like more than 50% of the time — manage to capitalize that <code>:w</code>. Naturally, Vim yells at me because <code>W</code> is an invalid command:</p>
  <pre><code>E492: Not an editor command: W
  </code></pre>
  <p>My question is how can one <strong>alias colon-commands in Vim</strong>. Particularly, could you exemplify how to alias <code>W</code> to <code>w</code>.</p>
  <p>I am aware of the process to <em>map keys</em> to certain <em>commands</em>, but that is not what I’m looking for.</p>