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