1
- *options.txt* For Vim version 9.1. Last change: 2025 Jul 25
1
+ *options.txt* For Vim version 9.1. Last change: 2025 Aug 06
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1035,7 +1035,7 @@ A jump table for the options with a short description can be found at |Q_op|.
1035
1035
< Vim will guess the value. In the GUI this should work correctly,
1036
1036
in other cases Vim might not be able to guess the right value.
1037
1037
If the GUI supports a dark theme, you can use the "d" flag in
1038
- 'guioptions' , see 'go-d'.
1038
+ 'guioptions' , see | 'go-d' | .
1039
1039
1040
1040
When the | t_RB | option is set, Vim will use it to request the background
1041
1041
color from the terminal. If the returned RGB value is dark/light and
@@ -1589,7 +1589,7 @@ A jump table for the options with a short description can be found at |Q_op|.
1589
1589
"nofile" and "nowrite" buffers are similar:
1590
1590
both: The buffer is not to be written to disk, ":w" doesn't
1591
1591
work (":w filename" does work though).
1592
- both: The buffer is never considered to be | 'modified' | .
1592
+ both: The buffer is never considered to be 'modified' .
1593
1593
There is no warning when the changes will be lost, for
1594
1594
example when you quit Vim.
1595
1595
both: A swap file is only created when using too much memory
@@ -1642,7 +1642,7 @@ A jump table for the options with a short description can be found at |Q_op|.
1642
1642
searched for has a relative path, not an absolute part starting with
1643
1643
"/", "./" or "../", the 'cdpath' option is not used then.
1644
1644
The 'cdpath' option's value has the same form and semantics as
1645
- | 'path' | . Also see | file-searching | .
1645
+ 'path' . Also see | file-searching | .
1646
1646
The default value is taken from $CDPATH, with a "," prepended to look
1647
1647
in the current directory first.
1648
1648
If the default value taken from $CDPATH is not what you want, include
@@ -2228,7 +2228,7 @@ A jump table for the options with a short description can be found at |Q_op|.
2228
2228
controls how completion candidates are reduced from the
2229
2229
list of alternatives. If you want to use | fuzzy-matching |
2230
2230
to gather more alternatives for your candidate list,
2231
- see | 'completefuzzycollect' | .
2231
+ see 'completefuzzycollect' .
2232
2232
2233
2233
longest Only insert the longest common text of the matches. If
2234
2234
the menu is displayed you can use CTRL-L to add more
@@ -2265,7 +2265,7 @@ A jump table for the options with a short description can be found at |Q_op|.
2265
2265
popup Show extra information about the currently selected
2266
2266
completion in a popup window. Only works in combination
2267
2267
with "menu" or "menuone". Overrides "preview".
2268
- See | 'completepopup' | for specifying properties.
2268
+ See 'completepopup' for specifying properties.
2269
2269
{only works when compiled with the | +textprop | feature}
2270
2270
2271
2271
popuphidden
@@ -2386,7 +2386,7 @@ A jump table for the options with a short description can be found at |Q_op|.
2386
2386
local to buffer
2387
2387
Copy the structure of the existing lines indent when autoindenting a
2388
2388
new line. Normally the new indent is reconstructed by a series of
2389
- tabs followed by spaces as required (unless | 'expandtab' | is enabled,
2389
+ tabs followed by spaces as required (unless 'expandtab' is enabled,
2390
2390
in which case only spaces are used). Enabling this option makes the
2391
2391
new line copy whatever characters were used for indenting on the
2392
2392
existing line. 'expandtab' has no effect on these characters, a Tab
@@ -2537,7 +2537,7 @@ A jump table for the options with a short description can be found at |Q_op|.
2537
2537
*cpo-m*
2538
2538
m When included, a showmatch will always wait half a
2539
2539
second. When not included, a showmatch will wait half
2540
- a second or until a character is typed. | 'showmatch' |
2540
+ a second or until a character is typed. 'showmatch'
2541
2541
*cpo-M*
2542
2542
M When excluded, "%" matching will take backslashes into
2543
2543
account. Thus in "( \( )" and "\( ( \)" the outer
@@ -5609,8 +5609,7 @@ A jump table for the options with a short description can be found at |Q_op|.
5609
5609
'lispoptions' 'lop' string (default "")
5610
5610
local to buffer
5611
5611
Comma-separated list of items that influence the Lisp indenting when
5612
- enabled with the | 'lisp' | option. Currently only one item is
5613
- supported:
5612
+ enabled with the 'lisp' option. Currently only one item is supported:
5614
5613
expr:1 use 'indentexpr' for Lisp indenting when it is set
5615
5614
expr:0 do not use 'indentexpr' for Lisp indenting (default)
5616
5615
Note that when using 'indentexpr' the `= ` operator indents all the
@@ -5620,7 +5619,7 @@ A jump table for the options with a short description can be found at |Q_op|.
5620
5619
'lispwords' 'lw' string (default is very long)
5621
5620
global or local to buffer | global-local |
5622
5621
Comma-separated list of words that influence the Lisp indenting when
5623
- enabled with the | 'lisp' | option.
5622
+ enabled with the 'lisp' option.
5624
5623
5625
5624
*'list'* *'nolist'*
5626
5625
'list' boolean (default off)
@@ -6112,7 +6111,7 @@ A jump table for the options with a short description can be found at |Q_op|.
6112
6111
When the mouse is not enabled, the GUI will still use the mouse for
6113
6112
modeless selection. This doesn't move the text cursor.
6114
6113
6115
- See | mouse-using | . Also see | 'clipboard' | .
6114
+ See | mouse-using | . Also see 'clipboard' .
6116
6115
6117
6116
Note: When enabling the mouse in a terminal, copy/paste will use the
6118
6117
"* register if there is access to an X-server. The xterm handling of
@@ -6603,7 +6602,7 @@ A jump table for the options with a short description can be found at |Q_op|.
6603
6602
local to buffer
6604
6603
When changing the indent of the current line, preserve as much of the
6605
6604
indent structure as possible. Normally the indent is replaced by a
6606
- series of tabs followed by spaces as required (unless | 'expandtab' | is
6605
+ series of tabs followed by spaces as required (unless 'expandtab' is
6607
6606
enabled, in which case only spaces are used). Enabling this option
6608
6607
means the indent will preserve as many existing characters as possible
6609
6608
for indenting, and only add additional tabs or spaces as required.
@@ -7238,7 +7237,7 @@ A jump table for the options with a short description can be found at |Q_op|.
7238
7237
current window also scrolls other scrollbind windows (windows that
7239
7238
also have this option set). This option is useful for viewing the
7240
7239
differences between two versions of a file, see 'diff' .
7241
- See | 'scrollopt' | for options that determine how this option should be
7240
+ See 'scrollopt' for options that determine how this option should be
7242
7241
interpreted.
7243
7242
This option is mostly reset when splitting a window to edit another
7244
7243
file. This means that ":split | edit file" results in two windows
@@ -7658,7 +7657,7 @@ A jump table for the options with a short description can be found at |Q_op|.
7658
7657
'shiftwidth' 'sw' number (default 8)
7659
7658
local to buffer
7660
7659
Number of columns that make up one level of (auto)indentation. Used
7661
- by | 'cindent' | , | << | , | >> | , etc.
7660
+ by 'cindent' , | << | , | >> | , etc.
7662
7661
If set to 0, Vim uses the current 'tabstop' value. Use | shiftwidth() |
7663
7662
to obtain the effective value in scripts.
7664
7663
@@ -7881,7 +7880,7 @@ A jump table for the options with a short description can be found at |Q_op|.
7881
7880
global or local to window | global-local |
7882
7881
The minimal number of screen columns to keep to the left and to the
7883
7882
right of the cursor if 'nowrap' is set. Setting this option to a
7884
- value greater than 0 while having | 'sidescroll' | also at a non-zero
7883
+ value greater than 0 while having 'sidescroll' also at a non-zero
7885
7884
value makes some context visible in the line you are scrolling in
7886
7885
horizontally (except at beginning of the line). Setting this option
7887
7886
to a large value (like 999) has the effect of keeping the cursor
@@ -7893,9 +7892,9 @@ A jump table for the options with a short description can be found at |Q_op|.
7893
7892
setlocal sidescrolloff=-1
7894
7893
< NOTE: This option is set to 0 when 'compatible' is set.
7895
7894
7896
- Example: Try this together with 'sidescroll' and 'listchars' as
7897
- in the following example to never allow the cursor to move
7898
- onto the "extends" character: >
7895
+ Example: Try this together with 'sidescroll' and 'listchars' as in the
7896
+ following example to never allow the cursor to move onto the
7897
+ "extends" character: >
7899
7898
7900
7899
:set nowrap sidescroll=1 listchars=extends:>,precedes:<
7901
7900
:set sidescrolloff=1
@@ -7999,8 +7998,8 @@ A jump table for the options with a short description can be found at |Q_op|.
7999
7998
in-depth explanations.
8000
7999
8001
8000
If Vim is compiled with the | +vartabs | feature then the value of
8002
- 'softtabstop' will be ignored if | 'varsofttabstop' | is set to
8003
- anything other than an empty string.
8001
+ 'softtabstop' will be ignored if 'varsofttabstop' is set to anything
8002
+ other than an empty string.
8004
8003
8005
8004
*'spell'* *'nospell'*
8006
8005
'spell' boolean (default off)
@@ -8443,12 +8442,12 @@ A jump table for the options with a short description can be found at |Q_op|.
8443
8442
Careful: All text will be in memory:
8444
8443
- Don't use this for big files.
8445
8444
- Recovery will be impossible!
8446
- A swapfile will only be present when | 'updatecount' | is non-zero and
8445
+ A swapfile will only be present when 'updatecount' is non-zero and
8447
8446
'swapfile' is set.
8448
8447
When 'swapfile' is reset, the swap file for the current buffer is
8449
8448
immediately deleted. When 'swapfile' is set, and 'updatecount' is
8450
8449
non-zero, a swap file is immediately created.
8451
- Also see | swap-file | and | 'swapsync' | .
8450
+ Also see | swap-file | and 'swapsync' .
8452
8451
If you want to open a new buffer without creating a swap file for it,
8453
8452
use the | :noswapfile | modifier.
8454
8453
See 'directory' for where the swap file is created.
@@ -8653,7 +8652,7 @@ A jump table for the options with a short description can be found at |Q_op|.
8653
8652
character (ASCII 9); a Horizontal Tab always advances to the next tab
8654
8653
stop.
8655
8654
The value must be at least 1 and at most 9999.
8656
- If Vim was compiled with | +vartabs | and | 'vartabstop' | is set, this
8655
+ If Vim was compiled with | +vartabs | and 'vartabstop' is set, this
8657
8656
option is ignored.
8658
8657
Leave it at 8 unless you have a strong reason (see usr | 30.5 | ).
8659
8658
@@ -9115,7 +9114,7 @@ A jump table for the options with a short description can be found at |Q_op|.
9115
9114
When Vim was compiled with HAVE_X11 defined, the original title will
9116
9115
be restored if possible. The output of ":version" will include "+X11"
9117
9116
when HAVE_X11 was defined, otherwise it will be "-X11". This also
9118
- works for the icon name | 'icon' | .
9117
+ works for the icon name 'icon' .
9119
9118
But: When Vim was started with the | -X | argument, restoring the title
9120
9119
will not work (except in the GUI).
9121
9120
If the title cannot be restored, it is set to the value of 'titleold' .
@@ -9348,7 +9347,7 @@ A jump table for the options with a short description can be found at |Q_op|.
9348
9347
global
9349
9348
{only when compiled with the | +persistent_undo | feature}
9350
9349
List of directory names for undo files, separated with commas.
9351
- See | 'backupdir' | for details of the format.
9350
+ See 'backupdir' for details of the format.
9352
9351
"." means using the directory of the file. The undo file name for
9353
9352
"file.txt" is ".file.txt.un~".
9354
9353
For other directories the file name is the full path of the edited
@@ -9420,13 +9419,13 @@ A jump table for the options with a short description can be found at |Q_op|.
9420
9419
recovery | crash-recovery | ). 'updatecount' is set to zero by starting
9421
9420
Vim with the "-n" option, see | startup | . When editing in readonly
9422
9421
mode this option will be initialized to 10000.
9423
- The swapfile can be disabled per buffer with | 'swapfile' | .
9422
+ The swapfile can be disabled per buffer with 'swapfile' .
9424
9423
When 'updatecount' is set from zero to non-zero, swap files are
9425
9424
created for all buffers that have 'swapfile' set. When 'updatecount'
9426
9425
is set to zero, existing swap files are not deleted.
9427
- Also see | 'swapsync' | .
9428
- This option has no meaning in buffers where | 'buftype' | is "nofile"
9429
- or "nowrite".
9426
+ Also see 'swapsync' .
9427
+ This option has no meaning in buffers where 'buftype' is "nofile" or
9428
+ "nowrite".
9430
9429
9431
9430
*'updatetime'* *'ut'*
9432
9431
'updatetime' 'ut' number (default 4000)
0 commit comments