sponsor Vim development Vim logo Vim Book Ad

basic Tip #37: The basic operation about vim-boolean optionals

 tip karma   Rating 9/6, Viewed by 765 

created:   March 7, 2001 6:47      complexity:   basic
author:   [email protected]      as of Vim:   5.7

:set number
switch the number on
:set nonumber
switch it off
:set invnumber
or
:set number!
switch it inverse against the current setting
:set number&
get the default value vim assums.

replace number with any legal vim-boolean optionals, they all works well.
for vim-non-boolean optionals
:set optional&
also works properly.

 rate this tip  Life Changing Helpful Unfulfilling 

<<Using Gnu-info help in vim | Cursor one line at a time when :set wrap >>

Additional Notes

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
Sponsored by Web Concept Group Inc. SourceForge Logo