1
- *starting.txt* For Vim version 9.1. Last change: 2024 Aug 03
1
+ *starting.txt* For Vim version 9.1. Last change: 2024 Sep 05
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -828,8 +828,8 @@ accordingly. Vim proceeds in this order:
828
828
easy to copy it to another system.
829
829
830
830
If Vim was started with "-u filename", the file "filename" is used.
831
- All following initializations until 4. are skipped. $MYVIMRC is not
832
- set.
831
+ All following initializations until 4. are skipped. $MYVIMRC and
832
+ $MYVIMDIR are not set.
833
833
"vim -u NORC" can be used to skip these initializations without
834
834
reading a file. "vim -u NONE" also skips loading plugins. | -u |
835
835
@@ -847,11 +847,13 @@ accordingly. Vim proceeds in this order:
847
847
'compatible' is only done later. Add a ":set nocp" command if you
848
848
like. For the Macintosh the $VIMRUNTIME/macmap.vim is read.
849
849
850
- *VIMINIT* *.vimrc* *_vimrc* *EXINIT* *.exrc* *_exrc* *$MYVIMRC*
850
+ *VIMINIT* *.vimrc* *_vimrc* *EXINIT* *.exrc* *_exrc* *$MYVIMRC* *$MYVIMDIR*
851
851
c. Five places are searched for initializations. The first that exists
852
852
is used, the others are ignored. The $MYVIMRC environment variable is
853
853
set to the file that was first found, unless $MYVIMRC was already set
854
- and when using VIMINIT.
854
+ and when using VIMINIT. The $MYVIMDIR environment variable is
855
+ set to the personal 'rtp' directory, however it is not verified
856
+ that the directory actually exists.
855
857
I The environment variable VIMINIT (see also | compatible-default | ) (*)
856
858
The value of $VIMINIT is used as an Ex command line.
857
859
II The user vimrc file(s):
@@ -971,7 +973,8 @@ accordingly. Vim proceeds in this order:
971
973
The | VimEnter | autocommands are executed.
972
974
973
975
The $MYVIMRC or $MYGVIMRC file will be set to the first found vimrc and/or
974
- gvimrc file.
976
+ gvimrc file while $MYVIMDIR is set to the users personal runtime directory
977
+ 'rtp' (typically the first entry in 'runtimepath' ).
975
978
976
979
977
980
Some hints on using initializations ~
0 commit comments