check value of a vim option
In #vim we can check the value of an option just by using :set option_name?
.
Yeah, just by adding a ?
question mark at the end of a set
command.
Bonus:
- use
!
to toggle boolean values - use
&
to revert to the default value :help set