Let's say that I've got a package set up like this:
~/.vim/pack/bundle/start/
vim-unimpaired/
vim-surround/
When Vim starts up, it automatically adds the vim-surround and vim-unimpaired directories to my runtimepath.
While I've got Vim running, let's say that I add the vim-fugitive plugin to the start directory, making my package look like this:
~/.vim/pack/bundle/start/
vim-unimpaired/
vim-surround/
vim-fugitive/
Can I make Vim check the start directory again and add any paths to the runtimepath that are not already present there?
I understand that if I start a new Vim session, then my runtimepath will contain all three plugins. I'm curious to know if there's a way of updating the runtimepath without having to restart Vim.
:packaddcommand and I misunderstood the:packloadallcommand, thinking that it did the equivalent of:packadd ALL(that command doesn't actually exist). Now that I've re-read the docs for:packloadallI wonder how I missed it. – nelstrom Apr 15 '17 at 21:51