From 1aa577a8ef2dedd593be470d8d2a7c2d80b834a5 Mon Sep 17 00:00:00 2001 From: gmarik Date: Sat, 30 Oct 2010 21:02:36 -0500 Subject: [PATCH] Documentation - bundlerc support deprecated --- README.md | 31 +++++++++++++++---------------- vundle_test.sh | 6 +++++- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index db9db22..ca24a1b 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ ## About -** Warning: alpha quality ** - -[Vundle] is a short cut for [V](#)imb[undle](#) and is a ~80 LOC plugin for managing [Vim] plugins. +[Vundle] is a short cut for **V**imb**undle** and is a ~80 LOC plugin for managing [Vim] plugins. ## Installation @@ -12,9 +10,10 @@ ## Configuration -Configure required plugins in ~/.vim/bundlerc, ie like this: +Add to your ~/.vimrc - cat > ~/.vim/bundlerc <" Bundle "http://github.com/vim-scripts/L9.git" Bundle "http://github.com/vim-scripts/FuzzyFinder.git" @@ -22,28 +21,28 @@ Configure required plugins in ~/.vim/bundlerc, ie like this: Bundle "http://github.com/vim-scripts/rails.vim.git" Bundle "http://github.com/vim-scripts/ack.vim.git" " check http://vim-scripts.org for more - EOF -BTW [Vim-Scripts.org](http://vim-scripts.org) is a git mirror of all vim scripts. See [gmarik's bubdlerc](http://github.com/gmarik/vimfiles/blob/master/bundlerc) for working example. - -Add to your .vimrc - - call vundle#rc() +BTW [Vim-Scripts.org](http://vim-scripts.org) is a git mirror of all vim scripts. See [gmarik's vimrc](http://github.com/gmarik/vimfiles/blob/6926a7e2ba176a292a8e71b6e4c17f15b8eebe04/vimrc#L134) for working example. ## Installing plugins - vim -e -c 'BundleInstall' -c 'q' +Launch vim and run :BundleInstall. + +Or from command line: + + $ vim -e -c 'BundleInstall' -c 'q' triggers [Git clone](http://gitref.org/creating/#clone) for each configured repo to ~/.vim/bundle/. -## Thanks +## Inspiration and ideas from -* [Pathogen] -* [Bundler] +* [pathogen] +* [bundler] +* [Scott Bronson](http://github.com/bronson) ## TODO: -* improve code (as this is my first [Vim] plugin +* improve code * support non [Git] resources aswell [Vundle]:http://github.com/gmarik/vundle diff --git a/vundle_test.sh b/vundle_test.sh index 0af19a4..e7e845e 100755 --- a/vundle_test.sh +++ b/vundle_test.sh @@ -12,9 +12,13 @@ install() { echo -en 'Install:'; [ -d $HOME/.vim/bundle ] && [ "$(ls -1 -d ~/.vim/bundle/*|wc -l)" = "$(grep ^Bundle ~/.vim/vimrc|wc -l)" ] && echo 'ok' || echo 'fail' } +# $ source vundle_test.sh; test test() { setup install } -test +# $ source vundle_test.sh; doc +doc() { + maruku --html README.md ; open README.html +}