From 323716c9fdd59021c0c3a1fdf900108ace857e41 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Tue, 3 Feb 2015 18:49:35 +0100 Subject: Updated .vimrc --- vim/.vim/bundle/Vundle.vim | 1 - vim/.vim/bundle/Vundle.vim/test/files/test.erl | 20 +++++++ vim/.vim/bundle/Vundle.vim/test/minirc.vim | 8 +++ vim/.vim/bundle/Vundle.vim/test/vimrc | 81 ++++++++++++++++++++++++++ 4 files changed, 109 insertions(+), 1 deletion(-) delete mode 160000 vim/.vim/bundle/Vundle.vim create mode 100644 vim/.vim/bundle/Vundle.vim/test/files/test.erl create mode 100644 vim/.vim/bundle/Vundle.vim/test/minirc.vim create mode 100644 vim/.vim/bundle/Vundle.vim/test/vimrc (limited to 'vim/.vim/bundle/Vundle.vim/test') diff --git a/vim/.vim/bundle/Vundle.vim b/vim/.vim/bundle/Vundle.vim deleted file mode 160000 index 0b28e33..0000000 --- a/vim/.vim/bundle/Vundle.vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0b28e334e65b6628b0a61c412fcb45204a2f2bab diff --git a/vim/.vim/bundle/Vundle.vim/test/files/test.erl b/vim/.vim/bundle/Vundle.vim/test/files/test.erl new file mode 100644 index 0000000..1672953 --- /dev/null +++ b/vim/.vim/bundle/Vundle.vim/test/files/test.erl @@ -0,0 +1,20 @@ +-module(mmc_logmon_sup). +-behaviour(supervisor). +-export([init/1]). + +init(_) -> + {ok, { + {one_for_one, 5, 1}, + [ + {listener, + {aaa, start_link, []}, + permanent, 100, worker, + [aaa] + }, + {server, + {bbb, start_link, []}, + permanent, 100, worker, + [bbb] + } + ] + }}. diff --git a/vim/.vim/bundle/Vundle.vim/test/minirc.vim b/vim/.vim/bundle/Vundle.vim/test/minirc.vim new file mode 100644 index 0000000..3c24395 --- /dev/null +++ b/vim/.vim/bundle/Vundle.vim/test/minirc.vim @@ -0,0 +1,8 @@ +set nocompatible +syntax on +filetype off +set rtp+=~/.vim/bundle/Vundle.vim/ +call vundle#rc() +Bundle 'gmarik/Vundle.vim' +filetype plugin indent on + diff --git a/vim/.vim/bundle/Vundle.vim/test/vimrc b/vim/.vim/bundle/Vundle.vim/test/vimrc new file mode 100644 index 0000000..d8455a7 --- /dev/null +++ b/vim/.vim/bundle/Vundle.vim/test/vimrc @@ -0,0 +1,81 @@ +" vim -u test/vimrc +set nocompatible + +set nowrap + +let bundle_dir = '/tmp/vundle-test/bundles/' +" let src = 'http://github.com/gmarik/vundle.git' + +" Vundle Options +" let g:vundle_default_git_proto = 'git' + +silent execute '!mkdir -p '.bundle_dir +silent execute '!ln -f -s ~/.vim/bundle/Vundle.vim '.bundle_dir + +filetype off +syntax on + +runtime macros/matchit.vim + +" This test should be executed in "test" directory +exec 'set rtp^='.bundle_dir.'Vundle.vim/' + +call vundle#rc(bundle_dir) + + +Plugin 'molokai' " vim-scripts name + +" 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 +"Bundle 'nonexistinguser/yupppierepo.git' + +" 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/'} +Bundle 'matchit.zip', {'name': 'matchit'} + +" Camel case +Bundle 'vim-scripts/RubySinatra' + +" syntax issue #203 +Bundle 'jimenezrick/vimerl' + +" 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 + + +filetype plugin indent on " Automatically detect file types. + +set wildignore+=doc " should not break helptags +set wildignore+=.git " should not break clone +set wildignore+=.git/* " should not break clone +set wildignore+=*/.git/* +" TODO: helptags fails with this +" set wildignore+=doc/* " should not break clone +" set wildignore+=*/doc/* + +au VimEnter * BundleInstall + +" e test/files/erlang.erl +" vim: set expandtab sts=2 ts=2 sw=2 tw=78: -- cgit v1.2.3