Default vimrc file
/*
* Try to read initialization commands from the following places:
* - environment variable VIMINIT
* - user vimrc file (s:.vimrc for Amiga, ~/.vimrc otherwise)
* - second user vimrc file ($VIM/.vimrc for Dos)
* - environment variable EXINIT
* - user exrc file (s:.exrc for Amiga, ~/.exrc otherwise)
* - second user exrc file ($VIM/.exrc for Dos)
* The first that exists is used, the rest is ignored.
*/
The initiailization file (as also other command files) are read by
do_source()
. A speciality of this function is that it tries to read
_vimrc
if it was unable to read
.vimrc
(and vice versa - and similar for
.exrc
/
_exrc
).