home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9424 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  961 b 

  1. Path: sparky!uunet!mcsun!Germany.EU.net!unido!horga!ruhr.de!agsc!influx.sub.org!hsch
  2. From: hsch@influx.sub.org (Heinrich Schnermann)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: deleting lines in vi
  5. Message-ID: <D2150069.9cgka7@influx.sub.org>
  6. Date: 25 Jul 92 14:03:30 GMT
  7. Reply-To: hsch@influx.sub.org
  8. Organization: Heinrich Schnermann, Hannover
  9. Lines: 15
  10. X-Mailer: uAccess - Macintosh Release: 1.5v4
  11.  
  12.  
  13. In article <1992Jul15.132312.12499@ryptyde.cts.com> (comp.unix.questions), scott@ryptyde.cts.com (Scott McClure) writes:
  14. > When editing with vi, and you want to remove everything below the current 
  15. > line, is there a function to do this?  Pressing "DD" nine million times
  16. > gets a bit old.
  17.  
  18. Most people answered to press dG (to delete below the current line
  19. this should be jdG), but this is too easy.
  20.  
  21. What do you think about d1GdG"2pkdd ?
  22.  
  23. :-), Heinrich
  24.  
  25. Heinrich Schnermann, Wichmannstra'e 26, D-3000 Hannover 81,
  26. Tel: +49-511-835603, Fax: +49-511-835605
  27.