2011-04-23 03:27:33 -04:00
|
|
|
" vim -u test/vimrc
|
|
|
|
set nocompatible
|
|
|
|
|
2011-05-10 00:00:50 -04:00
|
|
|
let root = '/tmp/vundle_bundles/'
|
|
|
|
if !isdirectory(expand(root).'/vundle')
|
|
|
|
exec '!git clone http://github.com/gmarik/vundle.git '.root.'/vundle'
|
|
|
|
endif
|
|
|
|
|
2011-04-23 03:27:33 -04:00
|
|
|
filetype off
|
2011-05-16 20:33:18 -04:00
|
|
|
syntax on
|
2011-05-10 00:00:50 -04:00
|
|
|
|
2011-04-23 03:27:33 -04:00
|
|
|
runtime macros/matchit.vim
|
|
|
|
|
2011-05-10 00:00:50 -04:00
|
|
|
exec 'set rtp+='.root.'/vundle'
|
|
|
|
|
2011-04-23 03:27:33 -04:00
|
|
|
|
2011-05-10 00:00:50 -04:00
|
|
|
call vundle#rc(root)
|
2011-04-23 03:27:33 -04:00
|
|
|
|
2011-05-31 20:03:28 -04:00
|
|
|
Bundle "gmarik/vundle"
|
2011-05-16 20:18:33 -04:00
|
|
|
|
2011-04-23 03:27:33 -04:00
|
|
|
" vim-scripts name
|
|
|
|
Bundle 'molokai'
|
|
|
|
|
|
|
|
" github username with dashes
|
|
|
|
Bundle 'vim-scripts/ragtag.vim'
|
|
|
|
|
|
|
|
" original repo
|
|
|
|
Bundle 'altercation/vim-colors-solarized'
|
|
|
|
" with extension
|
|
|
|
Bundle 'nelstrom/vim-mac-classic-theme.git'
|
|
|
|
|
2011-05-23 15:50:20 -04:00
|
|
|
" full uri
|
|
|
|
Bundle 'https://github.com/vim-scripts/vim-game-of-life'
|
2011-04-23 03:27:33 -04:00
|
|
|
" full uri
|
|
|
|
Bundle 'git@github.com:gmarik/ingretu.git'
|
|
|
|
" short uri
|
|
|
|
Bundle 'gh:gmarik/snipmate.vim.git'
|
|
|
|
Bundle 'github:mattn/gist-vim.git'
|
|
|
|
|
|
|
|
" local uri stuff
|
|
|
|
Bundle '~/Dropbox/.gitrepos/utilz.vim.git'
|
|
|
|
" Bundle 'file://Dropbox/.gitrepos/utilz.vim.git'
|
|
|
|
|
|
|
|
" with options
|
|
|
|
Bundle 'rstacruz/sparkup.git', {'rtp': 'vim/'}
|
|
|
|
|
|
|
|
" Camel case
|
|
|
|
Bundle 'vim-scripts/RubySinatra'
|
|
|
|
|
|
|
|
filetype plugin indent on " Automatically detect file types.
|
|
|
|
|
2011-04-27 22:21:09 -04:00
|
|
|
set wildignore+=doc " should not break helptags
|
2011-05-12 19:18:45 -04:00
|
|
|
set wildignore+=.git " should not break clone
|
2011-04-27 22:21:09 -04:00
|
|
|
|
2011-04-23 03:27:33 -04:00
|
|
|
BundleInstall
|
|
|
|
|
|
|
|
func! s:assert_bundles() abort
|
|
|
|
for b in g:bundles
|
2011-05-16 20:18:52 -04:00
|
|
|
if (!isdirectory(b.path().'/.git/'))
|
2011-04-23 03:27:33 -04:00
|
|
|
throw b.name.' not installed'
|
|
|
|
endif
|
|
|
|
endfor
|
|
|
|
endf
|
|
|
|
|
|
|
|
call s:assert_bundles()
|