You can do anything you want to your docment with shell commands.
eg.
:1,5 !fmt
will close up lines 1 to 5.
or:
!}fmt
will do the same to the next paragraph break (blank line).
info fmt will show you some options.
You could write a very short script to do just want you want and bind it to
a key.
Joel
On Tue, Dec 25, 2001 at 06:33:15AM -0500, Philip Mak wrote:
> I'm used to using pine's editor, which handles filling of paragraphs (even
> if they start with "> " due to quoting) fairly nicely.
>
> How can I achieve the same thing in vi? I'd like to be able to bind a key
> such that when I press it, it automatically refills the current paragraph
> smartly. Some automatic line wrapping would be nice, too... I'm wondering
> what configurations for .vimrc do you guys use for use with mutt?