By default, vundle install vim plugins to ~/.vim/bundle/ on linux machine.
How can I make it install plugins to:
~/here/please/vundle/install/all/plugins/
It should be as simple as passing the target directory to the rc()
function when you set up vundle. The implementation of that function explains it well enough if you know a bit of vimscript:
func! vundle#rc(...) abort
let g:bundle_dir = len(a:000) > 0 ? expand(a:1, 1) : expand('$HOME/.vim/bundle', 1)
let g:vundle_log = []
call vundle#config#init()
endf
Instead of just calling
call vundle#rc()
in your vimrc, use
call vundle#rc("~/here/please/vundle/install/all/plugins")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With