On 5/1/06, cga2000 <[EMAIL PROTECTED]> wrote:
Thus spake Eric Arnold on Mon, May 01, 2006 at 12:19:41AM -0600 or thereabouts:
<[EMAIL PROTECTED]> [2006-05-01 02:38]:
> Do you have these set?
>
> setlocal formatoptions+=bcroqan2t " better without w
Actually, you should look at the above options, and see if you want
all of them. These are what I use for when I'm writing text (instead
of code).
> setlocal linebreak
>
Not that I know of.
I tried:
:set ?formatoptions
:set ?formatoptions+
:setlocal ?formatoptions .. etc.
set formatoptions?
set fo?
You've got a dyslexic "?" :-)
and vim didn't seem to like it..
I then did a
:set
and formatoptions is apparently set to:
formatoptions=tcql
.. looks very different from what you have above?
Right. See:
:help fo-table
which describes that each of the letters means. Pay particular
attention to "a" and "w". I got tired of "w", so I stopped using it,
but you might want it.
I'll look into it further later today since it's really getting late.
btw, is there any way I can direct vim to write the output of a query
such as ':set' or ':ve' directly to the buffer? That would come in
handy when someone asks me for more info as to how my system is
configured.
:redir @a>
do stuff, and when done
:redir end
Then you have everything in register "a", and can paste it where ever.
I'm working on a script right now which automatically transfers
everything to a regular buffer window. I haven't released it yet. If
you're interested, I can send it.