vi question

Pàgina inicial
Adjunts:
Missatge com a correu electrònic
+ (text/plain)
Delete this message
Reply to this message
Autor: Mike Starke
Data:  
Assumpte: vi question
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