vim/bundle/vundle/test/vimrc

82 lines
1.9 KiB
VimL
Raw Normal View History

2014-05-29 15:35:25 +02:00
" vim -u test/vimrc
set nocompatible
set nowrap
2014-09-12 09:19:24 +02:00
let bundle_dir = '/tmp/vundle-test/bundles/'
" let src = 'http://github.com/gmarik/vundle.git'
2014-05-29 15:35:25 +02:00
" Vundle Options
" let g:vundle_default_git_proto = 'git'
2014-09-12 09:19:24 +02:00
silent execute '!mkdir -p '.bundle_dir
silent execute '!ln -f -s ~/.vim/bundle/Vundle.vim '.bundle_dir
2014-05-29 15:35:25 +02:00
filetype off
syntax on
runtime macros/matchit.vim
2014-09-12 09:19:24 +02:00
" This test should be executed in "test" directory
exec 'set rtp^='.bundle_dir.'Vundle.vim/'
2014-05-29 15:35:25 +02:00
2014-09-12 09:19:24 +02:00
call vundle#rc(bundle_dir)
2014-05-29 15:35:25 +02:00
2014-09-12 09:19:24 +02:00
Plugin 'molokai' " vim-scripts name
2014-05-29 15:35:25 +02: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'
"
" invalid uri
2014-09-12 09:19:24 +02:00
"Bundle 'nonexistinguser/yupppierepo.git'
2014-05-29 15:35:25 +02:00
" full uri
Bundle 'https://github.com/vim-scripts/vim-game-of-life'
" 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-09-12 09:19:24 +02:00
Bundle 'matchit.zip', {'name': 'matchit'}
2014-05-29 15:35:25 +02:00
" Camel case
Bundle 'vim-scripts/RubySinatra'
" syntax issue #203
Bundle 'jimenezrick/vimerl'
2014-09-12 09:19:24 +02: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
2014-05-29 15:35:25 +02:00
filetype plugin indent on " Automatically detect file types.
2014-09-12 09:19:24 +02:00
set wildignore+=doc " should not break helptags
set wildignore+=.git " should not break clone
set wildignore+=.git/* " should not break clone
2014-05-29 15:35:25 +02:00
set wildignore+=*/.git/*
" TODO: helptags fails with this
2014-09-12 09:19:24 +02:00
" set wildignore+=doc/* " should not break clone
2014-05-29 15:35:25 +02:00
" set wildignore+=*/doc/*
au VimEnter * BundleInstall
" e test/files/erlang.erl
2014-09-12 09:19:24 +02:00
" vim: set expandtab sts=2 ts=2 sw=2 tw=78: