On Tue, Nov 13, 2001 at 11:48:59AM -0600 I heard the voice of
David Champion, and lo! it spake thus:
> 
> There is no tw/textwidth in vi -- use wm/wrapmargin instead. Set it to
> the width of your right-hand margin to auto-wrap text. (For example: set
> wm=8 to wrap at 72 columns on an 80-column screen.)

The downside of this is that it then becomes highly dependant on your
terminal width.  For those of us who keep 30-40 xterms around, and fire
up editors all over the place, that's not necessarily a fixed quantity
:)

I use the 'wraplength' property, which specifies ling length instead of
something so ethereal as 'right margin size'.  The DOWNSIDE is that (at
least in the case of nvi) it doesn't keep re-wrapped as you add/remove
text, but that doesn't particularly bother me; I map ^R to fmt <foo> if
I do any major changes.



-- 
Matthew Fuller     (MF4839)     |    [EMAIL PROTECTED]
Unix Systems Administrator      |    [EMAIL PROTECTED]
Specializing in FreeBSD         |    http://www.over-yonder.net/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"

Reply via email to