2011-04-23 03:27:33 -04:00
|
|
|
" vim -u test/vimrc
|
|
|
|
set nocompatible
|
|
|
|
|
2011-11-23 01:40:27 -05:00
|
|
|
set nowrap
|
|
|
|
|
2014-02-21 21:51:33 -05:00
|
|
|
let bundle_dir = '/tmp/vundle-test/bundles/'
|
2014-04-14 10:44:55 -04:00
|
|
|
" let src = 'http://github.com/gmarik/vundle.git'
|
2011-12-20 04:26:15 -05:00
|
|
|
|
|
|
|
" Vundle Options
|
|
|
|
" let g:vundle_default_git_proto = 'git'
|
|
|
|
|
2014-02-21 21:51:33 -05:00
|
|
|
silent execute '!mkdir -p '.bundle_dir
|
2014-04-14 10:44:55 -04:00
|
|
|
silent execute '!ln -f -s ~/.vim/bundle/Vundle.vim '.bundle_dir
|
2011-05-10 00:00:50 -04:00
|
|
|
|
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
|
|
|
|
|
2014-02-06 17:09:16 -05:00
|
|
|
" This test should be executed in "test" directory
|
2014-04-14 10:44:55 -04:00
|
|
|
exec 'set rtp^='.bundle_dir.'Vundle.vim/'
|
2011-04-23 03:27:33 -04:00
|
|
|
|
2014-02-21 21:51:33 -05:00
|
|
|
call vundle#rc(bundle_dir)
|
2011-04-23 03:27:33 -04:00
|
|
|
|
2014-03-18 14:50:51 -04:00
|
|
|
|
|
|
|
Plugin 'molokai' " vim-scripts name
|
2011-04-23 03:27:33 -04:00
|
|
|
|
|
|
|
" 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-07-15 03:08:01 -04:00
|
|
|
"
|
|
|
|
" invalid uri
|
2014-02-21 21:51:33 -05:00
|
|
|
"Bundle 'nonexistinguser/yupppierepo.git'
|
2011-04-23 03:27:33 -04:00
|
|
|
|
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/'}
|
2014-03-18 14:50:51 -04:00
|
|
|
Bundle 'matchit.zip', {'name': 'matchit'}
|
2011-04-23 03:27:33 -04:00
|
|
|
|
|
|
|
" Camel case
|
|
|
|
Bundle 'vim-scripts/RubySinatra'
|
|
|
|
|
2012-08-15 03:48:41 -04:00
|
|
|
" syntax issue #203
|
|
|
|
Bundle 'jimenezrick/vimerl'
|
|
|
|
|
2011-11-10 18:50:31 -05:00
|
|
|
" Static bundle: Same name as a valid vim-scripts bundle
|
|
|
|
Bundle 'latte', {'pinned' : 1}
|
|
|
|
if !isdirectory(expand(bundle_dir) . '/latte')
|
|
|
|
call mkdir(expand(bundle_dir) . '/latte', 'p')
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2011-04-23 03:27:33 -04:00
|
|
|
filetype plugin indent on " Automatically detect file types.
|
|
|
|
|
2014-02-21 21:51:33 -05:00
|
|
|
set wildignore+=doc " should not break helptags
|
|
|
|
set wildignore+=.git " should not break clone
|
|
|
|
set wildignore+=.git/* " should not break clone
|
2011-11-18 01:36:14 -05:00
|
|
|
set wildignore+=*/.git/*
|
|
|
|
" TODO: helptags fails with this
|
2014-02-21 21:51:33 -05:00
|
|
|
" set wildignore+=doc/* " should not break clone
|
2011-11-18 01:36:14 -05:00
|
|
|
" set wildignore+=*/doc/*
|
2011-04-27 22:21:09 -04:00
|
|
|
|
2011-11-22 16:30:45 -05:00
|
|
|
au VimEnter * BundleInstall
|
2012-08-15 03:48:41 -04:00
|
|
|
|
|
|
|
" e test/files/erlang.erl
|
2014-04-14 10:44:55 -04:00
|
|
|
" vim: set expandtab sts=2 ts=2 sw=2 tw=78:
|