vi question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Greg
Date:  
Subject: vi question
vG$x

This should do the tric in VIM.



Mike Starke 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 -
>To subscribe, unsubscribe, or to change you mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>


-- 
"Anger and Greed are the primary causes of defeat"
        Sun Tzu - "Art of War"