web editors

Nathan Saper plug-discuss@lists.PLUG.phoenix.az.us
Sat, 5 May 2001 18:06:03 -0700


On Fri, May 04, 2001 at 12:18:23AM -0700, der.hans wrote:
> Actually it leads to another question. Anyone know of a way to put this in
> the .vimrc such that it only affects vim when called from pine? There's got
> to be some env variable or something to key off of.

Put this in your .vimrc:

autocmd BufRead,BufNewFile mutt*[0-9],snd.*,.letter,.followup,.article,.article[0-9],pico* set textwidth=76

-- 
[ Nathan Saper (natedog@well.com)  http://www.well.com/user/natedog/ ]
[ GPG: 0x6D7A0DA0 ADB6 C720 B46B AE39 93BD E598 897E D87D 6D7A 0DA0  ]
[ PGP: 0x386C4B91 E6 65 BB E2 31 08 36 BF 0C 87 91 B8 26 AE 5E 5A    ]