Thanks a ton! This works very well.
On Tue, Aug 22, 2006 at 12:08:50PM +1000, Pete Johns wrote:
> On Mon, 2006-08-21 at 20:54:21 -0500, Tom Purl sent:
> >I'm looking for a simple function that will reformat a selected
> >block of text for e-mail messages (80 columns long, preserving
> >">" characters, etc). Vim Cream can do this very well, but the
> >functionality doesn't easily translate to vanilla Vim from what
> >I can see, and I prefer using Vim instead of Cream.
> >
> >Is there a function that allows me to do this for Vim?
> >
> Have you tried 'gq'? This works perfectly for me with visual
> blocks.
>
> See:
>
> :help gq
>
> Hope this helps;
>
> --paj
>
>
> --
> Pete Johns <http://johnsy.com/>
> Contact Information <http://johnsy.com/contact/>
> Taking Stock <http://johnsy.com/20060821101816>
> dsc00220 <http://johnsy.com/albums/flickr/210370644>