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.

141 lines
4.1 KiB

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