gmarik/vundle — pull request #144 by jwhitley (2012-02-24 18:59:26+00:00)
Title: Add bootstrap code to .vimrc example

This pull request addresses another form of the [Chicken Or Egg Dilemma](http://www.gmarik.info/blog/2011/05/17/chicken-or-egg-dilemma): ensuring a smooth experience with a newly checkout/clone for a version controlled home directory. This change has the following main features:

- It creates the initial clone of Vundle, as needed.
- Only if this is the "bootstrapping" run, then run BundleInstall before the rest of `.vimrc` runs.

As a straw-man, I've gone ahead and put the sample bootstrapping code right into `README.md`. Other alternatives include putting an updated `bundles.vim` template right into the repo (with a pointer from README and/or FAQ) or just punt it into the Vundle wiki.

Especially as someone migrating from a pathogen-with-submodules setup, this was something of a stumbling block: I wanted a significantly better out-of-box experience with Vundle on a new box vs. Pathogen. So far, this seems to work great.