Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!necntc!ames!oliveb!intelca!mipos3!omepd!intelisc!littlei!ogcvax!schaefer From: schaefer@ogcvax.UUCP (Barton E. Schaefer) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: vi tips- summary number one Message-ID: <1407@ogcvax.UUCP> Date: Wed, 9-Sep-87 12:35:50 EDT Article-I.D.: ogcvax.1407 Posted: Wed Sep 9 12:35:50 1987 Date-Received: Sat, 12-Sep-87 17:06:17 EDT References: Reply-To: schaefer@ogcvax.UUCP (Barton E. Schaefer) Organization: Oregon Graduate Center, Beaverton, OR Lines: 22 Xref: mnetor comp.unix.questions:4006 comp.unix.wizards:4199 In article bs@augusta.UUCP (Burch Seymour) writes: >This is the first summary in response to my recent request for vi >tips. The response was really amazing. These are the short items. >Longer items will follow shortly in other articles > >'d]]' deletes the rest of the buffer Actually, this deletes to the next section header in troff text or to the opening '{' of the next function in C code. Exactly WHAT it deletes to is controlled by the setting of the vi "sections" variable. Similarly, d[[ Deletes to the previous section or function opener d} Deletes to the next paragraph or blank line d{ Deletes to the previous paragraph or blank line where the "paragraphs" variable controls what is a paragraph. -- Bart Schaefer CSNET: schaefer@Oregon-Grad UUCP: ...{tektronix,verdix}!ogcvax!schaefer "Face it ... computers have revolutionized the workplace." "Right. The Ayatollah did the same thing to Iran." -- J. MacNelly