-2

This question already has an answer here:

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

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

None of these work.

marked as duplicate by statox Jan 21 '18 at 19:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 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
3

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.