I have implemented the schema above, using the following directory structure:
pack/
bundle/
start/
opt/
themes/
opt/
All seems fine. For colorschemes things are not as simple as I have described
above, because they may contain autoload directories, with (typically) stuff for
Airline/Lightline or for GUI Vim. Since I don't use those, for me it's fine to
have colorschemes inside `opt`, but in general some colorschemes would better go
inside `start`.
Plugins that I had blacklisted in Pathogen are now in bundle/opt. Pathogen lives
in bundle/opt, too: I still use it as a fallback when packages are not available.
A positive note is that the startup time has improved ~25% (now it's ~60ms).
Then, everything should work as before, with the exception of YCM, which must
now be loaded manually. To do so, I need
:packadd youcompleteme
but also
:call youcompleteme#Enable()
because :packadd does not trigger VimEnter.
This is a bit a of a pain. How about having `:packadd` trigger an event that
plugins may hook to?
Nicola