Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2003 19:19:49 +0100 (CET)
From:      "Julien Gabel" <>
To:        "Ruben de Groot" <>
Subject:   Re: Formatting an email for this list using vi
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
>>>> 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 :)

Want to link to this message? Use this URL: <>