Browse Source

Documentation

- bundlerc support deprecated
pull/10/head
gmarik 15 years ago
parent
commit
1aa577a8ef
2 changed files with 19 additions and 16 deletions
  1. +14
    -15
      README.md
  2. +5
    -1
      vundle_test.sh

+ 14
- 15
README.md View File

@ -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 <code>~/.vim/bundlerc</code>, ie like this:
Add to your <code>~/.vimrc</code>
cat > ~/.vim/bundlerc <<EOF
call vundle#rc()
" My bundles
" Bundle "<git-repo-uri>"
Bundle "http://github.com/vim-scripts/L9.git"
Bundle "http://github.com/vim-scripts/FuzzyFinder.git"
@ -22,28 +21,28 @@ Configure required plugins in <code>~/.vim/bundlerc</code>, 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.
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.
Add to your <code>.vimrc</code>
## Installing plugins
call vundle#rc()
Launch <code>vim</code> and run <code>:BundleInstall</code>.
## Installing plugins
Or from command line:
vim -e -c 'BundleInstall' -c 'q'
$ vim -e -c 'BundleInstall' -c 'q'
triggers [Git clone](http://gitref.org/creating/#clone) for each configured repo to <code>~/.vim/bundle/</code>.
## 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


+ 5
- 1
vundle_test.sh View File

@ -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
}

Loading…
Cancel
Save