The :set Command
The :set command allows you to specify options that change characteristics of your editing environment. Options may be put in the ˜/.exrc file or set during a vi session.
The colon does not need to be typed if the command is put in .exrc:
Command | Action |
---|---|
:set x | Enable Boolean option x, show value of other options. |
:set nox | Disable option x. |
:set x=value | Give value to option x. |
:set | Show changed options. |
:set all | Show all options. |
:set x? | Show value of option x. |
Get Linux in a Nutshell, 6th 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.