title: How do I capitalize the first letter of a word in Vim?
body: <p>For a long time I've known that I can use <kbd>~</kbd> in Vim to toggle the case of a character. But is there a way to map a key to capitalize a word and go back to the previous position?</p>
  
  <p>For example:</p>
  
  <pre><code>I like to drink Coca co[l]
  </code></pre>
  
  <p>If my cursor is at "l" and I realize I need to make the "c" capitalize as well, currently, I need to do:</p>
  
  <pre><code>&lt;C-c&gt; b ~ ll i
  </code></pre>
  
  <p>Is there a way to map a single key to make the first letter of the word under cursor to be capitalized and keep the cursor at original position?</p>