Bundles are kept in their own self-contained subdirectories inside the
~/.vim/bundle/ directory and they are added dynamically to Vim’s
runtimepath by the following activation code (which has since evolved into
the unbundle.vim plugin) in the
" register bundles found in the runtimepath let s:bundles = tr(globpath(&runtimepath, 'bundle/*/.'), "\n", ',') let s:afters = tr(globpath(s:bundles, 'after/.'), "\n", ',') let &runtimepath = join([s:bundles, &runtimepath, s:afters], ',') " activate ftplugin/ scripts inside bundles filetype off filetype plugin indent on
Bundles are installed and upgraded by the get.rb script (which has since
evolved into the obtain script) which looks for
files that specify their respective bundles'
script_id numbers taken
from their download URLs:
Thus I am able to easily install, upgrade, and remove bundles. See my personal Vim configuration for further details.