[svlug] email editor

Bill Jonas bill at billjonas.com
Fri Jan 4 10:40:02 PST 2002

On Thu, Jan 03, 2002 at 04:25:47PM -0800, Will Francis wrote:
> ok, here's the big one and what really rules vi itself out: sane
> inline paragraph formatting.

How about vim?  You can reformat arbitrary ranges of characters to
whatever width you currently have your textwidth set to with
"gq<motion>", or use a text object, like "ip".  ("gqip" will reformat
the "inner paragraph", ie, whichever paragraph your curson is currently
in.)  It will also preserve quoting characters like "> " at the
beginning of the reformatted lines.  See ":help gq" and ":help
text-objects" for more information.  (These commands work in vim 5.6 and
probably at least a few earlier versions.)

Bill Jonas    *    bill at billjonas.com    *    http://www.billjonas.com/

Developer/SysAdmin for hire!   See http://www.billjonas.com/resume.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.svlug.org/archives/svlug/attachments/20020104/fccb57cb/attachment.bin

More information about the svlug mailing list