6 ms·
For #1, the yy command will yank the entire line (including the newline). Try using y$, which will yank from the cursor to the end of the line (not including th
by countersixte 15y ago
For #1, the yy command will yank the entire line (including the newline). Try using y$, which will yank from the cursor to the end of the line (not including the newline).
- falcolas 15y agoThis is the simplest way, in my opinion. So simple, that I remapped 'Y' to do exactly that (so it matches the functionality of 'D' and 'C'). map Y y$