Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ames!haven!umbc3!math15.math.umbc.edu!rouben From: rouben@math15.math.umbc.edu (Rouben Rostamian) Newsgroups: comp.editors Subject: Re: vi for power users Message-ID: <4672@umbc3.UMBC.EDU> Date: 13 Dec 90 02:40:59 GMT References: <1005@langtry.cs.utexas.edu> <109909@convex.convex.com> <1371:Dec1108:11:4090@kramden.acf.nyu.edu> Sender: newspost@umbc3.UMBC.EDU Reply-To: rouben@math15.math.umbc.edu.UUCP (Rouben Rostamian) Organization: Mathematics Department University of Maryland, Baltimore County Lines: 21 In article <1371:Dec1108:11:4090@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes: |Here's my favorite macro (like Tom's ^O): | | map ^A o $^[kJ$r 073l? ^Ms^M^[$xx0 | |Split a line properly at 72 characters (from the left margin), leaving |the cursor on the second half of the line and beeping if the second line |is blank. A lot faster than fmt, though on a slow connection you may not |like the screen bounce. [... other macros deleted ...] Here is the "no bounce" version of the same macro: map ^A :s/$/ /^M74^V|? ^Ms^M^[$xx0 -- Rouben Rostamian Telephone: (301) 455-2458 Department of Mathematics and Statistics e-mail: University of Maryland Baltimore County bitnet: rostamian@umbc Baltimore, MD 21228, U.S.A. internet: rostamian@umbc3.umbc.edu