In Vimscript, how can I check the current value of a Vim option?
To elaborate, I want to make a command to switch from Full-GUI Mode ( guioptions=+tM
) to Hacker Mode (guioptions=-tM
).
However, I can't seem to find a way to parse the :set guioptions?
value