Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 1999 03:56:51 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        grog@lemis.com (Greg Lehey)
Cc:        fullermd@futuresouth.com, tlambert@primenet.com, dpilgrim@uswest.net, bradley@softhome.net, freebsd-chat@FreeBSD.ORG
Subject:   Re: outlook mail  was:(RE: Logo merchandise)
Message-ID:  <199904040356.UAA01748@usr08.primenet.com>
In-Reply-To: <19990404105501.O2142@lemis.com> from "Greg Lehey" at Apr 4, 99 10:55:01 am

next in thread | previous in thread | raw e-mail | index | archive | help
> >>> The problem was that it would just let my text run long, making it
> >>> hard to review the e-mail before sending.  The screen-width problem
> >>> didn't even exist then, everyone was using 80-column screens.
> >>
> >> :set wrapmargin=72
> >
> > ITYM
> > :set wraplen=72
> > (I use 73, it's prime, and therefor intrinsically better)
> 
> JOOI, how do you reformat a paragraph with vi?

!}fmt^M

Will reformat from the cursor position to the end of the paragraph.

If you care about quoting, write a script, or map a key, instead.

Another common trick is to use abbreviation expansion in your .exrc:

ab	teh		the
ab	cutsomer	customer
ab	heirarchy	hierarchy
ab	JOOI		What the heck is this supposed to mean?

Etc.

See the VI FAQ for quoted text reformatting macros:

http://www.cis.ohio-state.edu/hypertext/faq/usenet/editor-faq/vi/part2/faq.html


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904040356.UAA01748>