Name

set

Synopsis

se parameter1 parameter2 ...

Set a value to an option with each parameter, or, if no parameter is supplied, print all options that have been changed from their defaults. For boolean options, each parameter can be phrased as option or no option; other options can be assigned with the syntax option = value. Specify all to list current settings. The form set option ? displays the value of option. See the list of set options in the section “The :set Command,” earlier in this chapter.

Examples

:set nows wm=10
:set all

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.