Is there a simple way of finding out the current value of a specified Vim setting? If I want to know the current value of, say tabstop, I can run:
There are also additional vim settings that can be displayed as well, such as:
:highlight
For the full list, see: http://vim.wikia.com/wiki/Displaying_the_current_Vim_environment
Edit: There is some misunderstanding of my answer. This does not work for any command. But it does work for all the commands listed in the URL above.