Oops -- didn't read your post correctly. Open my mouth and insert my foot.
:.,$ d
This deletes the current line through the end of file, but not from the
current position.
(Waiting for someone smarter than me to answer.)
On Wednesday 19 February 2003 07:43 am, you wrote:
> I would like to know how to delete from the
> current position to the end of file in VI(M).
>
> I was told by a fellow vi'er that the command
>
> ":d .,$" would do the trick. It does not, I get
> the message "Trailing Characters".
>
> Any help would be appreciated.
>
> v/r
> -Mike
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--
Ed Skinner,
ed@flat5.net,
http://www.flat5.net/