[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] Columns and linewrap
From: |
Paul van Tilburg |
Subject: |
Re: [vile] Columns and linewrap |
Date: |
Wed, 9 Apr 2008 21:55:09 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
On Wed, Apr 09, 2008 at 09:08:57AM -0400, Thomas Dickey wrote:
> On Wed, 9 Apr 2008, Paul van Tilburg wrote:
>> However, sometimes I co-author documents with others that use
>> the paradigm where a newline is a new paragraph, not a new line.
>> For me, by default, these lines look enormously long, so I
>> turn linewrap on for these documents. Two questions remain:
>>
>> * Can I make linewrap also respect the 80 char boundary so that
>> lines by others look like my lines.
>
> That sounds like
> :set fillcol=80
No, because linewrapping is "display time", while fillcol is "insert/edit
time". Besides that, linewrapping of lines longer than fillcol are still
only wrapped when hitting the width of the terminal.
>> * Can I make linewrap do wordwrapping.. that is not cut a word
>> in two if the 90 (or preferebly 80) char boundary is reached?
>
> The "wrapwords" setting is supposed to work with fillcol (I see the
> help-file implies that fillcol/wrapwords and wrapmargin are distinct).
Yes, but wrapwords only wraps words to the following line while you
are editting and hit $fillcol number of columns.
It seems in nvi/vim I can do: set columns=80.
Then it works as I want to ("view time"), and in vim I can even
do: set linebreak.
So then it does no longer cut in the middle of words.
Paul
--
PhD Student @ Eindhoven | email: address@hidden
University of Technology, The Netherlands | JID: address@hidden
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
Re: [vile] Columns and linewrap, Thomas Dickey, 2008/04/09
- Re: [vile] Columns and linewrap,
Paul van Tilburg <=
Re: [vile] Columns and linewrap, Thomas Dickey, 2008/04/09
Re: [vile] Columns and linewrap, Paul Fox, 2008/04/09