title: How to yank the text on a line and paste it inline in Vim?
body: <p>Say, I have the following lines:</p>
  <pre><code>thing();
  getStuff();
  </code></pre>
  <p>I want to take <code>getStuff()</code> using the <code>yy</code> command, go forward to <code>thing()</code>, placing the cursor on <code>(</code>, and paste via the <code>p</code> command, but since I yanked the whole line, <code>p</code> will paste <code>getStuff()</code> right back where it was.</p>
  <p>I know you can first move the cursor to the beginning of that <code>getStuff()</code> line and cut the characters from there until its end via the <code>^D</code> commands—then <kbd>p</kbd> will do what I want. However, I find typing <code>^D</code> to be much more tedious than <code>yy</code>.</p>
  <p>Is there a way to <code>yy</code>, but paste the line <em>inline</em> instead?</p>