|
1 | | -*options.txt* For Vim version 8.0. Last change: 2017 Aug 27 |
| 1 | +*options.txt* For Vim version 8.0. Last change: 2017 Sep 16 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -423,6 +423,16 @@ command, not when assigning a value to an option with ":let". |
423 | 423 | *$HOME-windows* |
424 | 424 | On MS-Windows, if $HOME is not defined as an environment variable, then |
425 | 425 | at runtime Vim will set it to the expansion of $HOMEDRIVE$HOMEPATH. |
| 426 | +If $HOMEDRIVE is not set then $USERPROFILE is used. |
| 427 | + |
| 428 | +This expanded value is not exported to the environment, this matters when |
| 429 | +running an external command: > |
| 430 | + :echo system('set | findstr ^HOME=') |
| 431 | +and > |
| 432 | + :echo luaeval('os.getenv("HOME")') |
| 433 | +should echo nothing (an empty string) despite exists('$HOME') being true. |
| 434 | +When setting $HOME to a non-empty string it will be exported to the |
| 435 | +subprocesses. |
426 | 436 |
|
427 | 437 |
|
428 | 438 | Note the maximum length of an expanded option is limited. How much depends on |
@@ -722,7 +732,8 @@ A jump table for the options with a short description can be found at |Q_op|. |
722 | 732 |
|
723 | 733 | Vim may set this option automatically at startup time when Vim is |
724 | 734 | compiled with the |+termresponse| feature and if |t_u7| is set to the |
725 | | - escape sequence to request cursor position report. |
| 735 | + escape sequence to request cursor position report. The response can |
| 736 | + be found in |v:termu7resp|. |
726 | 737 |
|
727 | 738 | *'antialias'* *'anti'* *'noantialias'* *'noanti'* |
728 | 739 | 'antialias' 'anti' boolean (default off, on for MacVim) |
@@ -875,11 +886,12 @@ A jump table for the options with a short description can be found at |Q_op|. |
875 | 886 | < Vim will guess the value. In the GUI this should work correctly, |
876 | 887 | in other cases Vim might not be able to guess the right value. |
877 | 888 |
|
878 | | - When the t_BG option is set, Vim will use it to request the background |
| 889 | + When the |t_RB| option is set, Vim will use it to request the background |
879 | 890 | color from the terminal. If the returned RGB value is dark/light and |
880 | 891 | 'background' is not dark/light, 'background' will be set and the |
881 | 892 | screen is redrawn. This may have side effects, make t_BG empty in |
882 | | - your .vimrc if you suspect this problem. |
| 893 | + your .vimrc if you suspect this problem. The response to |t_RB| can |
| 894 | + be found in |v:termrgbresp|. |
883 | 895 |
|
884 | 896 | When starting the GUI, the default value for 'background' will be |
885 | 897 | "light". When the value is not set in the .gvimrc, and Vim detects |
@@ -4487,9 +4499,9 @@ A jump table for the options with a short description can be found at |Q_op|. |
4487 | 4499 | {not in Vi} |
4488 | 4500 | {only available when compiled with |+xim| and |
4489 | 4501 | |+GUI_GTK|} |
4490 | | - This option specifies the input style of Input Method. |
4491 | | - Set to zero if you want to use on-the-spot style. |
4492 | | - Set to one if you want to use over-the-spot style. |
| 4502 | + This option specifies the input style of Input Method: |
| 4503 | + 0 use on-the-spot style |
| 4504 | + 1 over-the-spot style |
4493 | 4505 | See: |xim-input-style| |
4494 | 4506 |
|
4495 | 4507 | For a long time on-the-spot sytle had been used in GTK version of vim, |
@@ -5908,6 +5920,18 @@ A jump table for the options with a short description can be found at |Q_op|. |
5908 | 5920 | < Replace the ';' with a ':' or whatever separator is used. Note that |
5909 | 5921 | this doesn't work when $INCL contains a comma or white space. |
5910 | 5922 |
|
| 5923 | + *'perldll'* |
| 5924 | +'perldll' string (default depends on the build) |
| 5925 | + global |
| 5926 | + {not in Vi} |
| 5927 | + {only available when compiled with the |+perl/dyn| |
| 5928 | + feature} |
| 5929 | + Specifies the name of the Perl shared library. The default is |
| 5930 | + DYNAMIC_PERL_DLL, which was specified at compile time. |
| 5931 | + Environment variables are expanded |:set_env|. |
| 5932 | + This option cannot be set from a |modeline| or in the |sandbox|, for |
| 5933 | + security reasons. |
| 5934 | + |
5911 | 5935 | *'preserveindent'* *'pi'* *'nopreserveindent'* *'nopi'* |
5912 | 5936 | 'preserveindent' 'pi' boolean (default off) |
5913 | 5937 | local to buffer |
|
0 commit comments