A simple utility to help me setup my vim setup whenever I install it on a new machine.
I use pathogen to install my Vim plugins and, for virtually all of them, the code is on GitHub. The problem is that everytime I install Vim on a new computer, I need to remember, find and clone all these repositories. These utilities solve that.
Here's what you can do:
- getting a list of repos: get_repos.sh will list all your repos. Use it to create a list of all the plugins you are using.
- updating your repos: pull_repos.sh will update all your plugins. The argument is the bundle directory.
- reinstalling all your repos: clone_repos.sh clones the repos listed in a file (which it takes as an argument).
This is useful to me, and I put it up here because it might be useful to you too.
repo_list.txt is my list of plugins and .vimrc is my .vimrc, so that I have some backups :)