1- *options.txt* For Vim version 9.1. Last change: 2025 Nov 09
1+ *options.txt* For Vim version 9.1. Last change: 2025 Nov 23
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1670,7 +1670,8 @@ A jump table for the options with a short description can be found at |Q_op|.
16701670 a modified version of the following command in your vimrc file to
16711671 override it: >
16721672 :let &cdpath = ',' .. substitute(substitute($CDPATH, '[, ]', '\\\0', 'g'), ':', ',', 'g')
1673- < This option cannot be set from a | modeline | or in the | sandbox | , for
1673+ < Environment variables are expanded | :set_env | .
1674+ This option cannot be set from a | modeline | or in the | sandbox | , for
16741675 security reasons.
16751676 (parts of 'cdpath' can be passed to the shell to expand file names).
16761677
@@ -1991,8 +1992,6 @@ A jump table for the options with a short description can be found at |Q_op|.
19911992 *'commentstring'* *'cms'* *E537*
19921993'commentstring' 'cms' string (default "/* %s */")
19931994 local to buffer
1994- {not available when compiled without the | +folding |
1995- feature}
19961995 A template for a comment. The "%s" in the value is replaced with the
19971996 comment text, and should be padded with a space when possible.
19981997 Currently used to add markers for folding, see | fold-marker | . Also
@@ -3066,6 +3065,7 @@ A jump table for the options with a short description can be found at |Q_op|.
30663065 To include a comma in a file name precede it with a backslash. Spaces
30673066 after a comma are ignored, otherwise spaces are included in the file
30683067 name. See | option-backslash | about using backslashes.
3068+ Environment variables are expanded | :set_env | .
30693069 This has nothing to do with the | Dictionary | variable type.
30703070 Where to find a list of words?
30713071 - On FreeBSD, there is the file "/usr/share/dict/words".
@@ -6118,7 +6118,7 @@ A jump table for the options with a short description can be found at |Q_op|.
61186118 :set mkspellmem=900000,3000,800
61196119< If you have less than 512 Mbyte | :mkspell | may fail for some
61206120 languages, no matter what you set 'mkspellmem' to.
6121-
6121+ Environment variables are expanded | :set_env | .
61226122 This option cannot be set from a | modeline | or in the | sandbox | , for
61236123 security reasons.
61246124
@@ -6541,6 +6541,7 @@ A jump table for the options with a short description can be found at |Q_op|.
65416541 *'packpath'* *'pp'*
65426542'packpath' 'pp' string (default: see 'runtimepath' )
65436543 Directories used to find packages. See | packages | .
6544+ Environment variables are expanded | :set_env | .
65446545 This option cannot be set from a | modeline | or in the | sandbox | , for
65456546 security reasons.
65466547
@@ -7365,6 +7366,7 @@ A jump table for the options with a short description can be found at |Q_op|.
73657366 runtime files.
73667367 When Vim is started with | --clean | the home directory entries are not
73677368 included.
7369+ Environment variables are expanded | :set_env | .
73687370 This option cannot be set from a | modeline | or in the | sandbox | , for
73697371 security reasons.
73707372
@@ -8197,6 +8199,7 @@ A jump table for the options with a short description can be found at |Q_op|.
81978199 name if you want to. However, it will then only be used when
81988200 'spellfile' is set to it, for entries in 'spelllang' only files
81998201 without region name will be found.
8202+ Environment variables are expanded | :set_env | .
82008203 This option cannot be set from a | modeline | or in the | sandbox | , for
82018204 security reasons.
82028205
@@ -8324,7 +8327,7 @@ A jump table for the options with a short description can be found at |Q_op|.
83248327 Only one of "best", "double" or "fast" may be used. The others may
83258328 appear several times in any order. Example: >
83268329 :set sps=file:~/.vim/sugg,best,expr:MySuggest()
8327- <
8330+ < Environment variables are expanded | :set_env | .
83288331 This option cannot be set from a | modeline | or in the | sandbox | , for
83298332 security reasons.
83308333
@@ -9161,8 +9164,9 @@ A jump table for the options with a short description can be found at |Q_op|.
91619164 name. See | option-backslash | about using backslashes. The use of
91629165 | :set+= | and | :set-= | is preferred when adding or removing directories
91639166 from the list. This avoids problems when a future version uses
9164- another default. Backticks cannot be used in this option for security
9165- reasons.
9167+ another default.
9168+ Environment variables are expanded | :set_env | .
9169+ Backticks cannot be used in this option for security reasons.
91669170
91679171 *'thesaurusfunc'* *'tsrfu'*
91689172'thesaurusfunc' 'tsrfu' string (default: empty)
@@ -9490,6 +9494,7 @@ A jump table for the options with a short description can be found at |Q_op|.
94909494'ttytype' 'tty' string (default from $TERM)
94919495 global
94929496 Alias for 'term' , see above.
9497+ Environment variables are expanded | :set_env | .
94939498
94949499 *'undodir'* *'udir'*
94959500'undodir' 'udir' string (default ".")
@@ -9507,6 +9512,7 @@ A jump table for the options with a short description can be found at |Q_op|.
95079512 undo file that exists is used. When it cannot be read an error is
95089513 given, no further entry is used.
95099514 See | undo-persistence | .
9515+ Environment variables are expanded | :set_env | .
95109516 This option cannot be set from a | modeline | or in the | sandbox | , for
95119517 security reasons.
95129518
@@ -9658,6 +9664,7 @@ A jump table for the options with a short description can be found at |Q_op|.
96589664 Setting 'verbosefile' to a new value is like making it empty first.
96599665 The difference with | :redir | is that verbose messages are not
96609666 displayed when 'verbosefile' is set.
9667+ Environment variables are expanded | :set_env | .
96619668 This option cannot be set from a | modeline | or in the | sandbox | , for
96629669 security reasons.
96639670
@@ -9672,6 +9679,7 @@ A jump table for the options with a short description can be found at |Q_op|.
96729679 feature}
96739680 Name of the directory where to store files for | :mkview | .
96749681 For $XDG_CONFIG_HOME see | xdg-base-dir | .
9682+ Environment variables are expanded | :set_env | .
96759683 This option cannot be set from a | modeline | or in the | sandbox | , for
96769684 security reasons.
96779685
@@ -9827,6 +9835,7 @@ A jump table for the options with a short description can be found at |Q_op|.
98279835 When equal to "NONE" no viminfo file will be read or written.
98289836 This option can be set with the | -i | command line flag. The | --clean |
98299837 command line flag sets it to "NONE".
9838+ Environment variables are expanded | :set_env | .
98309839 This option cannot be set from a | modeline | or in the | sandbox | , for
98319840 security reasons.
98329841
0 commit comments