To set the options - use :set
instruction. Example:
:set ts=4
:set shiftwidth=4
:set expandtab
:set autoindent
To view the current value of the option - type :set {option}?
. Example:
:set ts?
To reset the value of the option to its default - type :set {option}&
. Example:
:set ts&