How do I find out the value of an option? I tried:

:echo ignorecase
:echo g:ignorecase
:echo v:ignorecase

None of these work.

  • You asked the same question 6 months ago and @Christian already gave you the same answer... If you don't want to use google you could at least check your own history
    – statox
    Jan 21 '18 at 19:00

To find out the value of an option, use either: set option? (e.g. add the questionmark to the option name) or use :echo &option

This is described at :h expr-option

Not the answer you're looking for? Browse other questions tagged or ask your own question.