vim: check for vundle before adding bundles

This commit is contained in:
Guillaume DOTT 2012-11-30 15:37:40 +01:00
parent 6ce8be9db1
commit b665bb040f

View File

@ -2,30 +2,32 @@ set nocompatible
" VUNDLE " VUNDLE
" { " {
filetype off " required! if filereadable(expand("$HOME/.vim/bundle/vundle/README.md"))
filetype off " required!
set rtp+=~/.vim/bundle/vundle/ set rtp+=~/.vim/bundle/vundle/
call vundle#rc() call vundle#rc()
" let Vundle manage Vundle " let Vundle manage Vundle
" required! " required!
Bundle 'gmarik/vundle' Bundle 'gmarik/vundle'
Bundle 'xolox/vim-session' Bundle 'xolox/vim-session'
Bundle 'tpope/vim-rails' Bundle 'tpope/vim-rails'
Bundle 'tpope/vim-markdown' Bundle 'tpope/vim-markdown'
Bundle "garbas/vim-snipmate" Bundle "garbas/vim-snipmate"
" snipMate dependencies " snipMate dependencies
Bundle "MarcWeber/vim-addon-mw-utils" Bundle "MarcWeber/vim-addon-mw-utils"
Bundle "tomtom/tlib_vim" Bundle "tomtom/tlib_vim"
Bundle "honza/snipmate-snippets" Bundle "honza/snipmate-snippets"
Bundle 'Gundo' Bundle 'Gundo'
Bundle 'The-NERD-tree' Bundle 'The-NERD-tree'
Bundle 'The-NERD-Commenter' Bundle 'The-NERD-Commenter'
Bundle 'closetag.vim' Bundle 'closetag.vim'
Bundle 'VisIncr' Bundle 'VisIncr'
endif
" } " }
filetype plugin indent on filetype plugin indent on