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.
<<Using Gnu-info help in vim |
Cursor one line at a time when :set wrap >>
Additional Notes
|