bb8a66d544
Seems to have broken with GitHub's relative link change https://github.com/blog/1395-relative-links-in-markup-files
143 lines
4.0 KiB
Markdown
143 lines
4.0 KiB
Markdown
## About
|
|
|
|
[Vundle] is short for _Vim bundle_ and is a [Vim] plugin manager.
|
|
|
|
![Vundle-installer](http://25.media.tumblr.com/tumblr_m8m96w06G81r39828o1_1280.png)
|
|
|
|
## Quick start
|
|
|
|
1. Setup [Vundle]:
|
|
|
|
```
|
|
$ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
|
|
```
|
|
|
|
2. Configure bundles:
|
|
|
|
Sample `.vimrc`:
|
|
|
|
```vim
|
|
set nocompatible " be iMproved
|
|
filetype off " required!
|
|
|
|
set rtp+=~/.vim/bundle/vundle/
|
|
call vundle#rc()
|
|
|
|
" let Vundle manage Vundle
|
|
" required!
|
|
Bundle 'gmarik/vundle'
|
|
|
|
" My Bundles here:
|
|
"
|
|
" original repos on github
|
|
Bundle 'tpope/vim-fugitive'
|
|
Bundle 'Lokaltog/vim-easymotion'
|
|
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
|
|
Bundle 'tpope/vim-rails.git'
|
|
" vim-scripts repos
|
|
Bundle 'L9'
|
|
Bundle 'FuzzyFinder'
|
|
" non github repos
|
|
Bundle 'git://git.wincent.com/command-t.git'
|
|
" ...
|
|
|
|
filetype plugin indent on " required!
|
|
"
|
|
" Brief help
|
|
" :BundleList - list configured bundles
|
|
" :BundleInstall(!) - install(update) bundles
|
|
" :BundleSearch(!) foo - search(or refresh cache first) for foo
|
|
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
|
|
"
|
|
" see :h vundle for more details or wiki for FAQ
|
|
" NOTE: comments after Bundle command are not allowed..
|
|
|
|
```
|
|
|
|
3. Install configured bundles:
|
|
|
|
Launch `vim`, run `:BundleInstall`
|
|
(or `vim +BundleInstall +qall` for CLI lovers)
|
|
|
|
*Windows users* see [Vundle for Windows](https://github.com/gmarik/vundle/wiki/Vundle-for-Windows)
|
|
|
|
Installing requires [Git] and triggers [Git clone](http://gitref.org/creating/#clone) for each configured repo to `~/.vim/bundle/`.
|
|
|
|
4. Consider [donating](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T44EJZX8RBUWY)
|
|
|
|
[*Thank you*](http://j.mp/rSbm01) for supporting this project! )
|
|
|
|
|
|
## Why Vundle
|
|
|
|
[Vundle] allows to:
|
|
|
|
- keep track and configure your scripts right in `.vimrc`
|
|
- [install] configured scripts (aka bundle)
|
|
- [update] configured scripts
|
|
- [search] by name [all available vim scripts]
|
|
- [clean] unused scripts up
|
|
- run above actions in a *single keypress* with [interactive mode]
|
|
|
|
Also [Vundle]:
|
|
|
|
- manages runtime path of your installed scripts
|
|
- regenerates helptag automatically
|
|
|
|
## Docs
|
|
|
|
see [`:h vundle`](vundle/blob/master/doc/vundle.txt#L1) vimdoc for more details.
|
|
|
|
## People Using Vundle
|
|
|
|
see [Examples](https://github.com/gmarik/vundle/wiki/Examples)
|
|
|
|
## FAQ
|
|
|
|
see [wiki](https://github.com/gmarik/vundle/wiki)
|
|
|
|
## Contributors
|
|
|
|
see [vundle contributors](https://github.com/gmarik/vundle/graphs/contributors)
|
|
|
|
*Thank you!*
|
|
|
|
## Inspiration and ideas from
|
|
|
|
* [pathogen]
|
|
* [bundler]
|
|
* [Scott Bronson](http://github.com/bronson)
|
|
|
|
## Also
|
|
|
|
* Vundle was developed and tested with [Vim] 7.3 on `OSX`, `Linux` and `Windows`
|
|
* Vundle tries to be as [KISS](http://en.wikipedia.org/wiki/KISS_principle) as possible
|
|
|
|
## TODO:
|
|
[Vundle] is a work in progress so any ideas/patches appreciated
|
|
|
|
* √ activate newly added bundles on .vimrc reload or after :BundleInstall
|
|
* √ use preview window for search results
|
|
* √ vim documentation
|
|
* √ put vundle to bundles/ too(will fix vundle help)
|
|
* √ tests
|
|
* √ improve error handling
|
|
* allow specify revision/version?
|
|
* handle dependencies
|
|
* show description in search results
|
|
* search by description as well
|
|
* make it rock!
|
|
|
|
[Vundle]:http://github.com/gmarik/vundle
|
|
[Pathogen]:http://github.com/tpope/vim-pathogen/
|
|
[Bundler]:http://github.com/wycats/bundler/
|
|
[Vim]:http://www.vim.org
|
|
[Git]:http://git-scm.com
|
|
[all available vim scripts]:http://vim-scripts.org/vim/scripts.html
|
|
|
|
[install]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L110-124
|
|
[update]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L128-134
|
|
[search]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L136-158
|
|
[clean]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L168-180
|
|
[interactive mode]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L184-210
|