Skip to content

Instantly share code, notes, and snippets.

@bronson
Created July 9, 2011 02:57
Show Gist options
  • Save bronson/1073254 to your computer and use it in GitHub Desktop.
Save bronson/1073254 to your computer and use it in GitHub Desktop.
difference between Pathogen and Vundle?
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" enabling this fixes things:
"call pathogen#runtime_append_all_bundles()
filetype indent plugin on
syntax on
set laststatus=2 " always display status line even if only one window is visible.
Bundle 'https://github.com/gmarik/vundle'
Bundle 'https://github.com/tpope/vim-fugitive'
" TODO: this prompt seems to cause huge delays with big repos on MacOS X
set statusline=%<%f\ %h%m%r%{fugitive#statusline()}%=%-14.(%l,%c%V%)\ %P
@bronson
Copy link
Author

bronson commented Jul 12, 2011

I'm thinking I'll change v-u-b to match vundle. I just added it because I noticed tpope and a few others using it to identify their plugins on github. But it's not necessary and simpler is better.

bundle/vimfugitive must have been a copy/paste error. It's vim-fugitive right now (although I'm using a very different environment).

Pathogen's rtp has 56 entries, Vundle's equivalent has 101. It would be nice if Vundle didn't add paths that don't exist. :)

@gmarik
Copy link

gmarik commented Jul 12, 2011

It would be nice if Vundle didn't add paths that don't exist.

Yeah, good catch! )

@bronson
Copy link
Author

bronson commented Jul 12, 2011

Yep, not dropping the vim- fixed it. Things seem to work, thanks!

Still trying to figure out how I feel about basing the rtp on the .vimrc instead of ~/.vim/bundle... Seems like more to go wrong, less flexible, but maybe it's nicer to have removals take place immediately. Can't tell. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment