vundle/README.md

54 lines
1.4 KiB
Markdown
Raw Normal View History

2010-10-17 19:18:08 -04:00
## About
2010-10-17 20:06:08 -04:00
** Warning: alpha quality **
2010-10-19 00:15:44 -04:00
[Vundle] is a short cut for [V](#)imb[undle](#) and is a 67 LOC plugin for managing [Vim] plugins.
2010-10-17 20:00:48 -04:00
2010-10-17 19:18:08 -04:00
## Installation
2010-10-19 00:15:44 -04:00
mkdir -p ~/.vim/autoload/ && \
2010-10-19 00:26:53 -04:00
curl http://github.com/gmarik/vundle/raw/bundlerc/autoload/vundle.vim > ~/.vim/autoload/vundle.vim
2010-10-17 19:18:08 -04:00
## Configuration
2010-10-19 00:29:15 -04:00
Configure required plugins in <code>~/.vim/bundlerc</code>, ie like this:
2010-10-17 20:46:30 -04:00
2010-10-19 00:26:53 -04:00
cat > ~/.vim/bundlerc <<EOF
2010-10-19 00:29:15 -04:00
" Bundle "<git-repo-uri>"
2010-10-17 20:00:48 -04:00
Bundle "http://github.com/vim-scripts/L9.git"
Bundle "http://github.com/vim-scripts/FuzzyFinder.git"
2010-10-17 21:58:05 -04:00
Bundle "git://git.wincent.com/command-t.git"
2010-10-17 20:00:48 -04:00
Bundle "http://github.com/vim-scripts/rails.vim.git"
Bundle "http://github.com/vim-scripts/ack.vim.git"
2010-10-19 00:26:53 -04:00
" check http://vim-scripts.org for more
2010-10-19 00:15:44 -04:00
EOF
2010-10-19 00:26:53 -04:00
BTW [Vim-Scripts.org](http://vim-scripts.org) is a git mirror of all vim scripts.
2010-10-19 00:15:44 -04:00
Add to your <code>.vimrc</code>
call vundle#rc()
2010-10-17 19:18:08 -04:00
2010-10-19 00:15:44 -04:00
## Installing plugins
2010-10-17 19:18:08 -04:00
2010-10-17 20:00:48 -04:00
vim -e -c 'BundleInstall' -c 'q'
2010-10-17 20:09:43 -04:00
triggers [Git clone](http://gitref.org/creating/#clone) for each configured repo to <code>~/.vim/bundle/</code>.
2010-10-17 20:00:48 -04:00
## Thanks
2010-10-17 20:18:58 -04:00
* [Pathogen]
* [Bundler]
2010-10-17 19:18:08 -04:00
## TODO:
2010-10-17 20:18:58 -04:00
* improve code (as this is my first [Vim] plugin
* support non [Git] resources aswell
[Vundle]:http://github.com/gmarik/vundle
[Pathogen]:http://github.com/tpope/vim-pathogen/
[Bundler]:http://github.com/wycats/bundler/
[Vim]:http://vim.org
[Git]:http://git-scm.com