vim: check for vundle before adding bundles
This commit is contained in:
parent
6ce8be9db1
commit
b665bb040f
40
vim/vimrc
40
vim/vimrc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user