* Tim Guirgies <[email protected]> [2011-06-07 03:17:38 +1000]:

> From ":help fo-table":
> l       Long lines are not broken in insert mode: When a line was longer
> than 'textwidth' when the insert command started, Vim does not
> automatically format it.
> 
> I'm guessing that you have no problems with auto-wrapping when you open
> other files?  Just type "vim" into your shell and start hammering a
> sentence; it should wrap just fine.

In just VIm, text wraps to my terminal, even when I explistily set the 
following befor typing.

:set wrap
:set tw=72

vim still blindly ignores textwidth, if I ditch my overtly long .vimrc,
vim obeys like a good dog. but I loose lot of things that I've become 
accustomed to lol


> So, we need to figure out why you're getting that "l" there.  First
> thing is to check your .vimrc.  If you don't see anything there, look in
> your mail syntax file; mine is located at
> /usr/share/vim/vimcurrent/syntax/mail.vim, but yours may be elsewhere,
> depending on your distro.  You can check which syntax file is in use
> with ":set filetype".

[email protected]:~$ grep tw .vimrc
18:     "               ||||||||+-- When joining lines, leave the cursor 
between joined lines
64:     set linespace=0                 " don't insert any extra pixel lines 
betweens rows
104:    set shiftwidth=4                " auto-indent amount when using 
cindent, >>, << and stuff like that
108:    set textwidth=72
183:                    au BufRead,BufNewFile *.rb,*.rhtml set shiftwidth=2
193:                    au BufRead,BufNewFile *.notes set shiftwidth=8
[email protected]:~$

My .vimrc has some crazy stuff in it, but nothing that wacky that it shouldn't 
see and obey line 104 ... as you can see, I stopped manually breaking at ~72.

> 
> > P.S. Incidentally, is my mail being sent twice? I am still references the
> > web interface and I see my mail to the list twice there...
> 
> I do not believe so.  I assume that you are using some sort of "group by
> conversation/thread" mode?  If that is the case, you will be seeing your
> sent message, and then the one that the mailing list sends out to
> _everyone_, including yourself.  Well, assuming that this list is
> configured the same as vger.  :\

GMail usually filters out the return-mail from a list, maybe because I am 
using an MUA now and not the web interface... I just wanted to make sure I
wasn't inappropriatly spamming the list w/ duplicates.

> 
> Tim
> 
> -- 
> () ascii ribbon campaign - against html e-mail
> /\ www.asciiribbon.org   - against proprietary attachments



-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?

Reply via email to