Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

Get The Current Value Of Environmental Variable Settings In Neovim

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

Code

:set timeoutlen?

Will show something like:

Code

timeoutlen=1000

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

Code

:set timeout?

will return

Code

timeout

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

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

- https://vim.fandom.com/wiki/Displaying_the_current_Vim_environment