On 2006-12-18, [EMAIL PROTECTED] wrote:
> I'm aware of the 'gq' command to put in hard returns so as to word wrap a
> paragraph. Is there a setting for that to occur automatically when I type
> a text file? Thanks.
You might try
set fo+=aw
and see
:help fo-table
for an explanation of 'a' and 'w'. In theory, just including 'a'
should automatically reformat paragraphs as you type, but I found it
more intrusive and annoying than helpful without also including 'w'.
Even then it doesn't always behave as I would like, so I use it
sparingly, e.g., when composing e-mail.
HTH,
Gary
--
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | Wireless Division
| Spokane, Washington, USA