1- *options.txt* For Vim version 9.1. Last change: 2025 Nov 20
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
@@ -3064,6 +3065,7 @@ A jump table for the options with a short description can be found at |Q_op|.
30643065 To include a comma in a file name precede it with a backslash. Spaces
30653066 after a comma are ignored, otherwise spaces are included in the file
30663067 name. See | option-backslash | about using backslashes.
3068+ Environment variables are expanded | :set_env | .
30673069 This has nothing to do with the | Dictionary | variable type.
30683070 Where to find a list of words?
30693071 - On FreeBSD, there is the file "/usr/share/dict/words".
@@ -6116,7 +6118,7 @@ A jump table for the options with a short description can be found at |Q_op|.
61166118 :set mkspellmem=900000,3000,800
61176119< If you have less than 512 Mbyte | :mkspell | may fail for some
61186120 languages, no matter what you set 'mkspellmem' to.
6119-
6121+ Environment variables are expanded | :set_env | .
61206122 This option cannot be set from a | modeline | or in the | sandbox | , for
61216123 security reasons.
61226124
@@ -6539,6 +6541,7 @@ A jump table for the options with a short description can be found at |Q_op|.
65396541 *'packpath'* *'pp'*
65406542'packpath' 'pp' string (default: see 'runtimepath' )
65416543 Directories used to find packages. See | packages | .
6544+ Environment variables are expanded | :set_env | .
65426545 This option cannot be set from a | modeline | or in the | sandbox | , for
65436546 security reasons.
65446547
@@ -7363,6 +7366,7 @@ A jump table for the options with a short description can be found at |Q_op|.
73637366 runtime files.
73647367 When Vim is started with | --clean | the home directory entries are not
73657368 included.
7369+ Environment variables are expanded | :set_env | .
73667370 This option cannot be set from a | modeline | or in the | sandbox | , for
73677371 security reasons.
73687372
@@ -8195,6 +8199,7 @@ A jump table for the options with a short description can be found at |Q_op|.
81958199 name if you want to. However, it will then only be used when
81968200 'spellfile' is set to it, for entries in 'spelllang' only files
81978201 without region name will be found.
8202+ Environment variables are expanded | :set_env | .
81988203 This option cannot be set from a | modeline | or in the | sandbox | , for
81998204 security reasons.
82008205
@@ -8322,7 +8327,7 @@ A jump table for the options with a short description can be found at |Q_op|.
83228327 Only one of "best", "double" or "fast" may be used. The others may
83238328 appear several times in any order. Example: >
83248329 :set sps=file:~/.vim/sugg,best,expr:MySuggest()
8325- <
8330+ < Environment variables are expanded | :set_env | .
83268331 This option cannot be set from a | modeline | or in the | sandbox | , for
83278332 security reasons.
83288333
@@ -9159,8 +9164,9 @@ A jump table for the options with a short description can be found at |Q_op|.
91599164 name. See | option-backslash | about using backslashes. The use of
91609165 | :set+= | and | :set-= | is preferred when adding or removing directories
91619166 from the list. This avoids problems when a future version uses
9162- another default. Backticks cannot be used in this option for security
9163- reasons.
9167+ another default.
9168+ Environment variables are expanded | :set_env | .
9169+ Backticks cannot be used in this option for security reasons.
91649170
91659171 *'thesaurusfunc'* *'tsrfu'*
91669172'thesaurusfunc' 'tsrfu' string (default: empty)
@@ -9488,6 +9494,7 @@ A jump table for the options with a short description can be found at |Q_op|.
94889494'ttytype' 'tty' string (default from $TERM)
94899495 global
94909496 Alias for 'term' , see above.
9497+ Environment variables are expanded | :set_env | .
94919498
94929499 *'undodir'* *'udir'*
94939500'undodir' 'udir' string (default ".")
@@ -9505,6 +9512,7 @@ A jump table for the options with a short description can be found at |Q_op|.
95059512 undo file that exists is used. When it cannot be read an error is
95069513 given, no further entry is used.
95079514 See | undo-persistence | .
9515+ Environment variables are expanded | :set_env | .
95089516 This option cannot be set from a | modeline | or in the | sandbox | , for
95099517 security reasons.
95109518
@@ -9656,6 +9664,7 @@ A jump table for the options with a short description can be found at |Q_op|.
96569664 Setting 'verbosefile' to a new value is like making it empty first.
96579665 The difference with | :redir | is that verbose messages are not
96589666 displayed when 'verbosefile' is set.
9667+ Environment variables are expanded | :set_env | .
96599668 This option cannot be set from a | modeline | or in the | sandbox | , for
96609669 security reasons.
96619670
@@ -9670,6 +9679,7 @@ A jump table for the options with a short description can be found at |Q_op|.
96709679 feature}
96719680 Name of the directory where to store files for | :mkview | .
96729681 For $XDG_CONFIG_HOME see | xdg-base-dir | .
9682+ Environment variables are expanded | :set_env | .
96739683 This option cannot be set from a | modeline | or in the | sandbox | , for
96749684 security reasons.
96759685
@@ -9825,6 +9835,7 @@ A jump table for the options with a short description can be found at |Q_op|.
98259835 When equal to "NONE" no viminfo file will be read or written.
98269836 This option can be set with the | -i | command line flag. The | --clean |
98279837 command line flag sets it to "NONE".
9838+ Environment variables are expanded | :set_env | .
98289839 This option cannot be set from a | modeline | or in the | sandbox | , for
98299840 security reasons.
98309841
0 commit comments