Displaying vi option values

To display the current value of all options enter the command:

:set all

To display the value of those options whose values have been reset from their default enter the command:

:set