Thus spake Matthew Dalton:
> dman wrote:
> > 
> > Ditto for vim.
> > 
> > See ":help textwidth" and ":help formatoptions" for more details.  For
> > writing mails (such as this) I use ":set tw=70 fo=tcq".  (BTW this can
> > be added to the .vimrc and executed automatically or it can be typed
> > as shown.)
> 
> You can also set options for individual files in vim by including a line
> like 'vi: textwidth=72' in the file.
This works great for me (I had exactly this question a little while ago,
and some kind soul passed it on:
set editor="vim -c 'set textwidth=72'
Good luck,
Steve

-- 
No animal should ever jump on the dining room furniture unless
absolutely certain he can hold his own in conversation.
                -- Fran Lebowitz

Attachment: pgp9yYgvNO6Yu.pgp
Description: PGP signature

Reply via email to