<<< Date Index >>>     <<< Thread Index >>>

Re: OT: column 72 in mutt with xterm && vim



On Wed, Mar 12, 2008 at 10:12:29AM +0100, Matthias Apitz wrote:
> 
> Hello,
> 
> This question is mutt related but perhaps a bit off-topic; but maybe
> of interest of more mutt users ...
> 
> I'm using mutt and writing e-mails with a 'vim' in a xterm window;
> the line length of this xterm window is pulled to more than 80
> columns so other output fits better (for example of 'ls'); of course
> I don't want to type behind column 72 when writing e-mail because
> I'm old and understand how mail should be written (only ASCII and
> only up to column 72; the 80 column punch cards have been my friends
> and my first input media to computers in the 70's :-))
> 
> Well, is there some way to draw a magic vertical line in the xterm or
> 'vim' in column 72?
> 
> Thx in advance for any hints
> 
Does vim have the 'fillcol' variable, in vile (another vi clone, that
I use) fillcol is as follows:-

    fillcol (fc)  Sets the value for the fill column, which is the
            column at which autowrapping and region formatting will
            break lines.  If zero, use the wrapmargin.  If negative,
            count from the right margin.  (B)


Alternatively if you always set you terminal to the same width you can
simply set the wrapmargin variable to the required number of spaces to
make lines wrap at 72 columns.


-- 
Chris Green