The yank command in vi.

edwards kae at ihuxl.UUCP
Fri Jan 3 14:19:03 AEST 1986


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

Have you ever tried the string "y$" ?  After all since the vi
command syntax seems to be <count><command><location> that
should work!  And whadayaknow it does!  I bet "d$" and "c$" work
too but I think "D" is a lot easier.  However, "c$" comes in handy
now and then.  You too can makeup new vi commands everyday or maybe
only every other day!  Actually, maybe they're not new except to you.
Show them to your friends!  Post'em to the net!  After all, someone
might be looking for that particular "new" command.  :-)

-- 

 -K. Alan Edwards
  IX 1G-315 x1199
  (ihuxl!kae)



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