The yank command in vi.

Ed Gould ed at mtxinu.UUCP
Tue Jan 7 06:46:05 AEST 1986


In article <355 at weitek.UUCP> mmm at weitek.UUCP (Mark Thorson) writes:
>In vi, I want Y to do the same thing as Dp.  Dp yanks to end of line.  I use
>Dp a lot.  Instead, Y yanks the whole line.  I use yy for that.  So Y is
>useless to me.

Try y$ to yank to the end of a line.

>I contend it would be a more useful and more consistent
>implementation of Y to yank to end of line.

That's a religious question, given how inconsistent vi already is.
I'd prefer D to delete the whole line; I use Y all the time.

-- 
Ed Gould                    mt Xinu, 2910 Seventh St., Berkeley, CA  94710  USA
{ucbvax,decvax}!mtxinu!ed   +1 415 644 0146

"A man of quality is not threatened by a woman of equality."



More information about the Comp.bugs.4bsd.ucb-fixes mailing list