Get current value of a setting in Vim
Alternatively, the &
symbol can be used to mean "option" - e.g.
let x = &expandtab
echo &expandtab
Add a ? mark after the setting name and it will show the value
:set expandtab?
Alternatively, the &
symbol can be used to mean "option" - e.g.
let x = &expandtab
echo &expandtab
Add a ? mark after the setting name and it will show the value
:set expandtab?