I haven't looked at this yet, but I was wondering if you looked at this
ftplugin that is online:
" mail FTplugin
" Requires vim 6.x.
" To install place in ~/.vim/after/ftplugin/mail.vim
" Author: Brian Medley
" Email: freesoftware@...
" $Revision: 1.9 $
" $Date: 2003/11/06 04:18:00 $
" $Source: /Users/bpm/.vim/after/ftplugin/RCS/mail.vim,v $
" This file was modified from Cedric Duval's version.
It has many new motion commands for this type of thing.
> -----Original Message----- http://www.vim.org/scripts/script.php?script_id=829
> From: kbosau@... [mailto:kbosau@...]
> Sent: Tuesday, November 25, 2003 6:12 PM
> To: Vim Mailing List
> Subject: ANN: Uploaded utility plugin ("gq" with enhanced
> e-mail support)
> gq.vim provides a variant on Vim's built-in beautifier "gq".
> People who use (G)Vim for mailing, i. e. to wrap and
> "beautify" lines prepended by angle brackets, may find it
> more convenient. (Actually it's derived from a query on this
> list some time ago.) You can find more information, including
> an example of use, here: