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