What is the load order of scripts? Does myscript.vim get loaded after or before ~/.vimrc.
If you pass in vimscript commands to vim directly on the command line, when do they get executed relative to sourced and default vimscripts?
-------------------------------------
The help entry is way too long to post here, but it lists the order of everything that vim does at initialization. See :help initialization.
-------------------------------------
I believe vimrc is always first. You can run :scriptnames to get a list of sourced scripts in order in which they were first sourced in your Vim instance.
-------------------------------------
==============================================================================================
scriptnames命令会列出你加载的插件列表,按加载顺序排列。不用总结哪个目录的插件先加载了,直接运行这条命令就好,一目了然。