title: Why does Y do the same thing as yy?
body: <p>I've been using vim for several months now and I've gotten used to using C and D to change and delete everything from the cursor to the end of the line.</p>
  
  <p>Consider the line below where the cursor is on the 'b' in 'bar':</p>
  
  <pre><code>foo.bar("hello world")
  </code></pre>
  
  <p>Hitting D at this point will yield:</p>
  
  <pre><code>foo.
  </code></pre>
  
  <p>While hitting C will do the same plus start insert mode with the cursor after the period.</p>
  
  <p>However, pressing Y doesn't do the intuitively similar thing (copying everything from the cursor to the end of the line). Instead, it copies the entire line (just like yy).</p>
  
  <p>How do I make Y copy the characters from the cursor to the end of the line instead of copying the entire line like yy?</p>