|
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) |
@@ -870,11 +881,12 @@ A jump table for the options with a short description can be found at |Q_op|. |
870 | 881 | < Vim will guess the value. In the GUI this should work correctly, |
871 | 882 | in other cases Vim might not be able to guess the right value. |
872 | 883 |
|
873 | | - When the t_BG option is set, Vim will use it to request the background |
| 884 | + When the |t_RB| option is set, Vim will use it to request the background |
874 | 885 | color from the terminal. If the returned RGB value is dark/light and |
875 | 886 | 'background' is not dark/light, 'background' will be set and the |
876 | 887 | screen is redrawn. This may have side effects, make t_BG empty in |
877 | | - your .vimrc if you suspect this problem. |
| 888 | + your .vimrc if you suspect this problem. The response to |t_RB| can |
| 889 | + be found in |v:termrgbresp|. |
878 | 890 |
|
879 | 891 | When starting the GUI, the default value for 'background' will be |
880 | 892 | "light". When the value is not set in the .gvimrc, and Vim detects |
@@ -4363,9 +4375,9 @@ A jump table for the options with a short description can be found at |Q_op|. |
4363 | 4375 | {not in Vi} |
4364 | 4376 | {only available when compiled with |+xim| and |
4365 | 4377 | |+GUI_GTK|} |
4366 | | - This option specifies the input style of Input Method. |
4367 | | - Set to zero if you want to use on-the-spot style. |
4368 | | - Set to one if you want to use over-the-spot style. |
| 4378 | + This option specifies the input style of Input Method: |
| 4379 | + 0 use on-the-spot style |
| 4380 | + 1 over-the-spot style |
4369 | 4381 | See: |xim-input-style| |
4370 | 4382 |
|
4371 | 4383 | For a long time on-the-spot sytle had been used in GTK version of vim, |
@@ -5746,6 +5758,18 @@ A jump table for the options with a short description can be found at |Q_op|. |
5746 | 5758 | < Replace the ';' with a ':' or whatever separator is used. Note that |
5747 | 5759 | this doesn't work when $INCL contains a comma or white space. |
5748 | 5760 |
|
| 5761 | + *'perldll'* |
| 5762 | +'perldll' string (default depends on the build) |
| 5763 | + global |
| 5764 | + {not in Vi} |
| 5765 | + {only available when compiled with the |+perl/dyn| |
| 5766 | + feature} |
| 5767 | + Specifies the name of the Perl shared library. The default is |
| 5768 | + DYNAMIC_PERL_DLL, which was specified at compile time. |
| 5769 | + Environment variables are expanded |:set_env|. |
| 5770 | + This option cannot be set from a |modeline| or in the |sandbox|, for |
| 5771 | + security reasons. |
| 5772 | + |
5749 | 5773 | *'preserveindent'* *'pi'* *'nopreserveindent'* *'nopi'* |
5750 | 5774 | 'preserveindent' 'pi' boolean (default off) |
5751 | 5775 | local to buffer |
|
0 commit comments