tags:

views:

84

answers:

3

I wrote

set tw=0

into my .vimrc file.

But when I verify options with

:set

it's still

textwidth=78

Why ?

+1  A: 

Why don't you just grep through your .vim directory for it?

Paul Betts
Thanks, I always forget to verify the directory.
Luc M
A: 

If you have modelines enabled, vim will read the last few lines of the file for vim settings, so check that as well.

retracile
+5  A: 

You can use :

:verbose set tw?

Which should tell you where it was last setted, for example :

textwidth=80
    Last set from ~/.vimrc
Etienne PIERRE
Exactly what I was looking for!!
Luc M
Thanks so much for this, exactly what I was looking for!
latortuga