Article View: comp.editors
Article #3066Re: Reformatting in vi
From: Andrea K. Frankel
Date: Thu, 21 Jan 1988 20:46
Date: Thu, 21 Jan 1988 20:46
26 lines
1636 bytes
1636 bytes
I have the following in my .login (I broke this up so it would mail
properly - remove all linebreaks):
setenv EXINIT 'set redraw noslow beautify open wm=8 report=2 shell=/bin/csh
|map * {!}fmt
|map v :1,$s/^/>/
|map q :r ~/.net.signature
The first map lets me hit "*" from anywhere in a paragraph, and the
whole paragraph will be reformatted. I use this so often, it's a real
bother when I'm working with somebody else who doesn't have this set up!
The second map is for quoting the article you're responding to on news,
and the last is because we don't have anything that automatically
appends a signature file.
Hope this helps...
Andrea Frankel, Hewlett-Packard (San Diego Division) (619) 592-4664
"...like a song that's born to soar the sky"
______________________________________________________________________________
UUCP : ...hplabs!hp-sdd!andrea from
{ihnp4|cbosgd|allegra|decvax|gatech|sun|tektronix}
or ...hp-sdd!andrea from {hp-pcd|hpfcla|hpda|noscvax|gould9|sdcsvax}
Internet : andrea%hp-sdd@ {nosc.mil | sdcsvax.ucsd.edu | hplabs.HP.com}
CSNET : andrea%hp-sdd@hplabs.csnet
USnail : 16399 W. Bernardo Drive, San Diego CA 92127-1899 USA
Technical Details
Message-ID:
<1153@hp-sdd.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!sdcsvax!hp-sdd!andreaReferences:
<1988Jan19.102343.3255@nonvon.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!sdcsvax!hp-sdd!andrea From: andrea@hp-sdd.HP.COM (Andrea K. Frankel) Newsgroups: comp.editors Subject: Re: Reformatting in vi Message-ID: <1153@hp-sdd.HP.COM> Date: 21 Jan 88 20:46:08 GMT References: <1988Jan19.102343.3255@nonvon.uucp> Reply-To: andrea@hp-sdd.UUCP (Andrea K. Frankel) Distribution: na Organization: Hewlett-Packard, San Diego Division Lines: 26