Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!umigw!mthvax!wb8foz From: wb8foz@mthvax.cs.miami.edu (David Lesher,,255RTFM,255rtfm) Newsgroups: comp.editors Subject: Re: vi delete to #, the sequel Message-ID: <1990Nov22.190213.2141@mthvax.cs.miami.edu> Date: 22 Nov 90 19:02:13 GMT References: <1990Nov21.025246.8298@mthvax.cs.miami.edu> Reply-To: wb8foz@mthvax.cs.miami.edu (David Lesher) Distribution: na Organization: NRK Clinic for habitual NetNews Abusers Lines: 26 Thanks, I've had a bunch of answers pointing out several methods I had been too blind to see for myself: :.,nnd :.,17d Try "d120G" to delete up to and including line 120. d17G .... delete till line 17 :.+1,17d {this looks different in function} :.,+12d :.,12d were only afew of the answers I got. I've only really tried the d17G one extensively. I like it pretty well. It also works if you are on line 32, also! However, how can I bind it to a key such as K so that 16K works as: d16G ? -- A host is a host from coast to coast.....wb8foz@mthvax.cs.miami.edu & no one will talk to a host that's close............(305) 255-RTFM Unless the host (that isn't close)......................pob 570-335 is busy, hung or dead....................................33257-0335