Get The Current Value Of Environmental Variable Settings In Neovim

November - 2021

Put a ? at the end of a :set SETTING string. For example:

:set timeoutlen?

Will show something like:

timeoutlen=1000

If there is no value set, it'll just output the key. For example if timeout isn't set, doing:

:set timeout?

will return

timeout

via: https://stackoverflow.com/a/2078272/102401

See also this for a way to get all the env stuff: