>>>> I have just started learning to use vi, and remember someone posting
>>>> something a while ago about how to re-format an email reply to have
>>>> proper 60 character width or something like that, does anyone
>>>> remember how that is done?

>>> When you're in the editor:
>>>
>>> :set wm=20
>>>
>>> will give 60 character wrap.  (ie 80-20 = 60) (Note, I've
>>> done this here in this message and this is the wrap I'm
>>> getting.

>> Don't forget to set the columns option to 80 in order to this
>> tip to work. This option is set to 161 by default on my fresh
>> 5.1-RELEASE installation.

Just to correct myself : the columns option is based on the size
of the window when the editor is launched. It not very efficient
to do that this way.

> I use ":set wraplen=72". Works regardless of column width.

Yes, this is a better solution :)
--
-jg.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to