Vundle, the plug-in manager for Vim
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

143 lines
4.2 KiB

13 years ago
13 years ago
12 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
12 years ago
12 years ago
12 years ago
13 years ago
12 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
12 years ago
12 years ago
13 years ago
13 years ago
13 years ago
13 years ago
12 years ago
  1. ## About
  2. [Vundle] is short for **V**imb**undle** and is a [Vim] plugin manager.
  3. ![Vundle-installer](https://lh3.googleusercontent.com/-4EnLqLpEZlk/TlqXWpgWxOI/AAAAAAAAHRw/oBAl6s1hj7U/vundle-install2.png)
  4. ## Quick start
  5. 1. Setup [Vundle]:
  6. ```
  7. $ git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
  8. ```
  9. 2. Configure bundles:
  10. Sample `.vimrc`:
  11. ```vim
  12. set nocompatible " be iMproved
  13. filetype off " required!
  14. set rtp+=~/.vim/bundle/vundle/
  15. call vundle#rc()
  16. " let Vundle manage Vundle
  17. " required!
  18. Bundle 'gmarik/vundle'
  19. " My Bundles here:
  20. "
  21. " original repos on github
  22. Bundle 'tpope/vim-fugitive'
  23. Bundle 'Lokaltog/vim-easymotion'
  24. Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
  25. " vim-scripts repos
  26. Bundle 'L9'
  27. Bundle 'FuzzyFinder'
  28. Bundle 'rails.vim'
  29. " non github repos
  30. Bundle 'git://git.wincent.com/command-t.git'
  31. " ...
  32. filetype plugin indent on " required!
  33. "
  34. " Brief help
  35. " :BundleList - list configured bundles
  36. " :BundleInstall(!) - install(update) bundles
  37. " :BundleSearch(!) foo - search(or refresh cache first) for foo
  38. " :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
  39. "
  40. " see :h vundle for more details or wiki for FAQ
  41. " NOTE: comments after Bundle command are not allowed..
  42. ```
  43. 3. Install configured bundles:
  44. Launch `vim`, run `:BundleInstall`.
  45. *Windows users* see [Vundle for Windows](https://github.com/gmarik/vundle/wiki/Vundle-for-Windows)
  46. Installing requires [Git] and triggers [Git clone](http://gitref.org/creating/#clone) for each configured repo to `~/.vim/bundle/`.
  47. ## Why Vundle
  48. [Vundle] allows to:
  49. - keep track and configure your scripts right in `.vimrc`
  50. - [install] configured scripts (aka bundle)
  51. - [update] configured scripts
  52. - [search] by name [all available vim scripts]
  53. - [clean] unused scripts up
  54. - run above actions in a *single keypress* with [interactive mode]
  55. Also [Vundle]:
  56. - manages runtime path of your installed scripts
  57. - regenerates helptag atomatically
  58. ## Docs
  59. see [`:h vundle`](vundle/blob/master/doc/vundle.txt#L1) vimdoc for more details.
  60. ## Examples
  61. See [gmarik's vimrc](https://github.com/gmarik/vimfiles/blob/1f4f26d42f54443f1158e0009746a56b9a28b053/vimrc#L136) for working example.
  62. If you have an interesting example, feel free to send a pull request with link to your config. Thx!
  63. ## FAQ
  64. see [wiki](/gmarik/vundle/wiki)
  65. ## Contributors
  66. * [redlinesoftware](http://redlinesoftware.com) - for lending me 24" monitor!
  67. * [Marc Jeanson](https://github.com/marcjeanson) - vim dude I always bug for help...;)
  68. * [Brad Anderson](http://github.com/eco) (windows support)
  69. * [Ryan W](http://github.com/rygwdn)
  70. * [termac](http://github.com/termac)
  71. * and others
  72. *Thank you!*
  73. ## Inspiration and ideas from
  74. * [pathogen]
  75. * [bundler]
  76. * [Scott Bronson](http://github.com/bronson)
  77. ## Also
  78. * Vundle was developed and tested with [Vim] 7.3 on `OSX`, `Linux` and `Windows`
  79. * Vundle tries to be as [KISS](http://en.wikipedia.org/wiki/KISS_principle) as possible
  80. ## TODO:
  81. [Vundle] is a work in progress so any ideas/patches appreciated
  82. * √ activate newly added bundles on .vimrc reload or after :BundleInstall
  83. * √ use preview window for search results
  84. * √ vim documentation
  85. * √ put vundle to bundles/ too(will fix vundle help)
  86. * √ tests
  87. * √ improve error handling
  88. * allow specify revision/version?
  89. * handle dependencies
  90. * show description in search results
  91. * search by description as well
  92. * make it rock!
  93. [Vundle]:http://github.com/gmarik/vundle
  94. [Pathogen]:http://github.com/tpope/vim-pathogen/
  95. [Bundler]:http://github.com/wycats/bundler/
  96. [Vim]:http://vim.org
  97. [Git]:http://git-scm.com
  98. [all available vim scripts]:http://vim-scripts.org/vim/scripts.html
  99. [install]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L110-124
  100. [update]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L128-133
  101. [search]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L135-157
  102. [clean]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L167-179
  103. [interactive mode]:https://github.com/gmarik/vundle/blob/master/doc/vundle.txt#L183-209