Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
countersixte
· 14y ago · 0 comments
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).
Comments
[–]
falcolas
14y ago
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$