I have a similar, yet different approach.
My approach also works even if git doesn't exist (by skipping vundler).
I need this since sometimes I work on systems that don't have every bell-and-whistle I could want.
https://github.com/docwhat/homedir-vim/blob/master/vimrc/.vi...
Thanks! This was always a pain, figured there must be an easy way to setup a fresh dotfile pull.
Re:Vim After 11 Years
by johncoltrane on Wednesday February 20, 2013 @03:13AM
(#5249458)
No you can't, you still need to have vundle installed.
Nope, I've done it quite a few times--you can bootstrap it from your vimrc like so:
if !isdirectory(expand(root, 1).'/vundle')
exec '!git clone '.src.' '.shellescape(root, 1).'/vundle'
endif
Re:Vim After 11 Years
by johncoltrane on Wednesday February 20, 2013 @05:32PM
(#5253843)
Thanks.
https://github.com/gmarik/vundle/blob/master/test/vimrc