News for hackers. Stuff that matters.
Re:Why, oh why, do those nutheads use vi? by countersixte on Thursday February 02, 2012 @10:05AM (#3542928)
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).
Re:Why, oh why, do those nutheads use vi? by falcolas on Thursday February 02, 2012 @05:54PM (#3544901)
This 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$