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.