On Sun, 2002-04-14 at 13:19, dfox wrote:

> I would first try:
> 
> <esc>se wm=6
> 
> That's for setting the wrap margin. I should point out that it should be set
> to the number of characters from the *right* margin. I.e., if you set wm to
> 72, you'll end up with most of your words
> on a new
> line
> like this :)
> 
> 
> If you type a word that would not fit at the wrap margin, vi will 
> automatically move it to the next line.
> 
> If you want to do more complicated formatting within vi, you can use the 
> Q command (at least in vim). Use the Q followed by a movement command, such as 
> } for paragraph, and voila, your paragraph will be formatted for the current 
> wrap margin setting. It won't justify though, but it's good for things like 
> when people can't use their editors and their text is turned into one long 
> line etc.  More complicated things can be done if you pipe your text through 
> to 'fmt' which can even justify the text.
> 
> IIRC that was the 'classic' way to do it before vim came along.

Guess what.  That worked!

(ecstatic happy dance....)

Two words... woo and hoo.  Ooops, that's three.  What the hell...

A big thanks to Dfox!  You da man !! Gosh, from what I had read I
thought it would take textwidth and wrapmargin together to make this
work, but...I guess that's baloney.  I do have textwidth set to 0 right
now; is that going to cause some bad effects or shortcomings that I
haven't seen yet?


Thanks again dfox...

LX

-- 
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
Kernel  2.4.8-26mdk     Mandrake Linux  8.1
Enlightenment 0.16.5    Evolution  1.02
Registered Linux User #268899 http://counter.li.org/
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to