4 ms·
yy Copies the current selection, or, if there is no selection, the current line Nope, if you've already selected something that's going to leave you in the
by tsm 14y ago
yy
Copies the current selection, or, if there is no selection, the current line
Nope, if you've already selected something that's going to leave you in the one-y-received-now-please-indicate-the-object-you-want-to-yank state. It's absolutely critical to understand the verb-object grammar of Vim, and understand how visual mode interacts with that. Don't memorize permutations of y, just memorize how to move, and the fact that y yanks. </rant>