Post by Kenny McCormackIsn't there some kind of "verbose mode" that makes VIM tell you every file
it sources (as it is sourcing it)? That would be closer to the truth, but
still not ideal.
Hello, Kenny.
You can use --startuptime option to log vim startup process to a file.
For example:
$ vi --startuptime startup.log
The log file will contain lines like these:
...
19 004.001 001.654 001.654: sourcing /usr/share/vim/vim91/colors/lists/default.vim
20 004.276 002.182 000.528: sourcing /usr/share/vim/vim91/syntax/syncolor.vim
...
:help --startuptime
--startuptime {fname} *--startuptime*
During startup write timing messages to the file {fname}.
This can be used to find out where time is spent while loading
your .vimrc, plugins and opening the first file.
When {fname} already exists new messages are appended.
{only available when compiled with the |+startuptime|
feature}
There is also :scriptnames command.
:help :scriptnames
:scr[iptnames] List all sourced script names, in the order they were
first encountered. The number is used for the script
ID |<SID>|.
For a script that was used with `import autoload` but
was not actually sourced yet an "A" is shown after the
script ID.
For a script that was referred to by one name but
after resolving symbolic links got sourced with
another name the other script is after "->". E.g.
"20->22" means script 20 was sourced as script 22.
Also see `getscriptinfo()`.
{not available when compiled without the |+eval|
feature}
This is not exactly what you wanted, but at least you can see which files
were opened/processed at startup and in what order.
--
Best regards,
DrunkenThon.