> For some reason autoindent go turned on again with Vim 7.0.
> 
> In earlier versions, I disabled it via "set textwidth=0" at the bottom
> of my .vimrc, however, now, somehow this setting is being overwritten
> somewhere, and textwidth is being set to something else (i.e 78 last
> I checked).


Well, you're on the right track, as you certainly want

        set tw=0
        set noai

at the bottom of your vimrc.  Your filetype settings might be
changing your indentation, so you might dig around for a line
something like

        filetype indent on

which tells Vim to indent based on the detected filetype.

To track down who's monkeying with your settings, you can use:

        :verbose set tw?
        :verbose set ai?

You can also use

        :scriptnames

The combo of knowing which script hosed your setting and when
that script was called should help you track down the trouble-maker.

You can read more at

        :help :filetype
        :help :verbose
        :help :scriptnames

Hope this helps,

-tim




Reply via email to