Vim logo vim online Vim Book Ad

 Tip #244: Ask vim where an option was set.

 tip karma   Rating 133/58, Viewed by 1389 

created:   May 7, 2002 8:22      complexity:   intermediate
author:   Benji Fisher      as of Vim:   6.0

     When things go wrong, it is sometimes hard to figure out why.  For example,
an option might be set in the system vimrc file, in a personal vimrc file, in a
plugin (global or local), or interactively.  Vim will tell you where the current
value was set if you ask:

:verbose set history?

will tell you the current value of the 'history' option, and where it was set.

 rate this tip  Life Changing Helpful Unfulfilling 

<<Develop vim modules on Win | Working with Unicode (platform-independent) >>

Additional Notes

[email protected], October 8, 2002 11:34
I was looking for this quite sometime. I have installed RH7.1 on my pc and was wondering how the default settings for vim were set. Good one!.
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
SourceForge Logo