|
1 |
| -*options.txt* For Vim version 9.1. Last change: 2024 Jan 30 |
| 1 | +*options.txt* For Vim version 9.1. Last change: 2024 Mar 06 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar
|
@@ -365,11 +365,24 @@ created, thus they behave slightly differently:
|
365 | 365 | For a global option the global value is
|
366 | 366 | shown (but that might change in the future).
|
367 | 367 |
|
368 |
| -:setl[ocal] {option}< Set the local value of {option} to its global value by |
369 |
| - copying the value. |
370 |
| - |
371 |
| -:se[t] {option}< For |global-local| options: Remove the local value of |
372 |
| - {option}, so that the global value will be used. |
| 368 | +:se[t] {option}< Set the effective value of {option} to its global |
| 369 | + value. |
| 370 | + For string |global-local| options, the local value is |
| 371 | + removed, so that the global value will be used. |
| 372 | + For all other options, the global value is copied to |
| 373 | + the local value. |
| 374 | + |
| 375 | +:setl[ocal] {option}< Set the effective value of {option} to its global |
| 376 | + value. |
| 377 | + For number and boolean |global-local| options, the |
| 378 | + local value is removed, so that the global value will |
| 379 | + be used. |
| 380 | + For all other options, including string |global-local| |
| 381 | + options, the global value is copied to the local |
| 382 | + value. |
| 383 | + |
| 384 | +Note that the behaviour for |global-local| options is slightly different |
| 385 | +between string and number-based options. |
373 | 386 |
|
374 | 387 | *:setg* *:setglobal*
|
375 | 388 | :setg[lobal][!] ... Like ":set" but set only the global value for a local
|
@@ -2919,7 +2932,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
2919 | 2932 | Use the indent heuristic for the internal
|
2920 | 2933 | diff library.
|
2921 | 2934 |
|
2922 |
| - algorithm:{text} Use the specified diff algorithm with the |
| 2935 | + algorithm:{text} Use the specified diff algorithm with the |
2923 | 2936 | internal diff engine. Currently supported
|
2924 | 2937 | algorithms are:
|
2925 | 2938 | myers the default algorithm
|
@@ -4000,7 +4013,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
4000 | 4013 | *'guiligatures'* *'gli'* *E1243*
|
4001 | 4014 | 'guiligatures' 'gli' string (default "")
|
4002 | 4015 | global
|
4003 |
| - {only for GTK GUI} |
| 4016 | + {only for GTK and Win32 GUI} |
4004 | 4017 | List of ASCII characters that, when combined together, can create more
|
4005 | 4018 | complex shapes. Each character must be a printable ASCII character
|
4006 | 4019 | with a value in the 32-127 range.
|
@@ -6454,7 +6467,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
6454 | 6467 | this option at the default "on". Only switch it off when working with
|
6455 | 6468 | old Vi scripts.
|
6456 | 6469 |
|
6457 |
| - *'renderoptions'* *'rop'* |
| 6470 | + *'renderoptions'* *'rop'* |
6458 | 6471 | 'renderoptions' 'rop' string (default: empty)
|
6459 | 6472 | global
|
6460 | 6473 | {only available when compiled with GUI and DIRECTX on
|
@@ -7240,7 +7253,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
7240 | 7253 | q use "recording" instead of "recording @a" *shm-q*
|
7241 | 7254 | F don't give the file info when editing a file, like *shm-F*
|
7242 | 7255 | `:silent` was used for the command; note that this also
|
7243 |
| - affects messages from autocommands |
| 7256 | + affects messages from autocommands and 'autoread' reloading |
7244 | 7257 | S do not show search count message when searching, e.g. *shm-S*
|
7245 | 7258 | "[1/5]"
|
7246 | 7259 |
|
@@ -8008,6 +8021,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
8008 | 8021 | "split" when both are present.
|
8009 | 8022 | uselast If included, jump to the previously used window when
|
8010 | 8023 | jumping to errors with |quickfix| commands.
|
| 8024 | + If a window has 'winfixbuf' enabled, 'switchbuf' is currently not |
| 8025 | + applied to the split window. |
8011 | 8026 |
|
8012 | 8027 | *'synmaxcol'* *'smc'*
|
8013 | 8028 | 'synmaxcol' 'smc' number (default 3000)
|
@@ -9458,6 +9473,15 @@ A jump table for the options with a short description can be found at |Q_op|.
|
9458 | 9473 | Note: Do not confuse this with the height of the Vim window, use
|
9459 | 9474 | 'lines' for that.
|
9460 | 9475 |
|
| 9476 | + *'winfixbuf'* |
| 9477 | +'winfixbuf' 'wfb' boolean (default off) |
| 9478 | + local to window |
| 9479 | + If enabled, the buffer and any window that displays it are paired. |
| 9480 | + For example, attempting to change the buffer with |:edit| will fail. |
| 9481 | + Other commands which change a window's buffer such as |:cnext| will |
| 9482 | + also skip any window with 'winfixbuf' enabled. However if a command |
| 9483 | + has an "!" option, a window can be forced to switch buffers. |
| 9484 | + |
9461 | 9485 | *'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'*
|
9462 | 9486 | 'winfixheight' 'wfh' boolean (default off)
|
9463 | 9487 | local to window |local-noglobal|
|
|
0 commit comments