Hacker News new | past | comments | ask | show | jobs | submit login

I recently switched to Vundle from Pathogen and it is a joy to use. Best part: you can bootstrap[1] Vundle from your .vimrc, turning the two-part "vimrc & plugins" configuration into a one-part "vimrc" configuration.

https://github.com/gmarik/vundle/blob/master/test/vimrc




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.


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


Thanks.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: