On Tue, Nov 13, 2001 at 03:50:46PM -0700, Rob 'Feztaa' Park <[EMAIL PROTECTED]> wrote: > On Tue, Nov 13, 2001 at 11:48:59AM -0600, David Champion (dis)graced my inbox with: > > For example, in your .exrc: > > map v {j0!}fmt -w72<ctrl-v ctrl-m> > > > > This makes "v" reformat the current paragraph to 72 columns. It ought to > > work on any variety of unix or a unix clone, with vi or any vi clone. > > Hmmm, I tried that with vim... it kinda screws up the quoting. It > works great for my own writing, though. Example:
If you put the following line in your .vimrc: autocmd BufRead .followup,.article*,.letter*,*/tmp/mutt* set fo=tcq2 comments=n:>,n::,n:»,n:],fb:- tw=72 then vim will wrap at the end of lines for all mail and news articles, and "gq" will do the right thing with wrapping quoted text. -Daniel -- Daniel E. Eisenbud [EMAIL PROTECTED] "We should go forth on the shortest walk perchance, in the spirit of undying adventure, never to return,--prepared to send back our embalmed hearts only as relics to our desolate kingdoms." --Henry David Thoreau, "Walking"