Right now I am using Pathogen to manage bundles in my ~/.vim
folder.
I also have my public dotfiles
repo which has all my configs, including my entire .vim
folder. I don't use symlinks to do this, because it has been a nightmare doing it that way. Whenever I want to update my dotfiles
repo I just copy and paste the whole .vim
folder periodically.
I used to download all repos manually from GitHub and update them that way, but I just redid everything using git clone
so that I can update all my local vim bundles easily.
The problem now though is that I can't commit these repos... I suppose I can do something with submodules but I don't know the logistics of that.
Is there a way I can make pathogen just re-download all the repos if I just give it some git paths? That would be ideal, so that whenever someone uses my dotfiles they just download the fresh versions with one command, kind of like how npm
works.
What are my other options to solve this?
My goals are:
- I can easily update my own bundles with a recursive
git pull
or some other easy command - I can commit this so that other people using my dotfiles can run that same command
- I don't want to use symlinks
Thanks!
Edit: This might be a wack idea, but what if I just create a vim function which pulls the repos, and I place that command right in my .vimrc
. This command would pull the repos, that way I can install/update all in the same command.
From there, I would just decide 'what' bundles go in my .vim
folder by modifying that one list. I imagine some plugin out there does this already?