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.

71 lines
1.5 KiB

14 years ago
13 years ago
13 years ago
13 years ago
13 years ago
13 years ago
14 years ago
13 years ago
14 years ago
13 years ago
14 years ago
13 years ago
14 years ago
13 years ago
14 years ago
14 years ago
13 years ago
14 years ago
13 years ago
14 years ago
13 years ago
14 years ago
  1. " vim -u test/vimrc
  2. set nocompatible
  3. let root = '/tmp/vundle_bundles/'
  4. let src = 'http://github.com/gmarik/vundle.git'
  5. " let src = '~/.vim/bundle/vundle/.git'
  6. if !isdirectory(expand(root).'/vundle')
  7. exec '!git clone '.src.' '.root.'/vundle'
  8. endif
  9. filetype off
  10. syntax on
  11. runtime macros/matchit.vim
  12. exec 'set rtp+='.root.'/vundle'
  13. call vundle#rc(root)
  14. " let g:vundle_default_git_proto = 'git'
  15. Bundle "gmarik/vundle"
  16. " vim-scripts name
  17. Bundle 'molokai'
  18. " github username with dashes
  19. Bundle 'vim-scripts/ragtag.vim'
  20. " original repo
  21. Bundle 'altercation/vim-colors-solarized'
  22. " with extension
  23. Bundle 'nelstrom/vim-mac-classic-theme.git'
  24. "
  25. " invalid uri
  26. Bundle 'nonexistinguser/yupppierepo.git'
  27. " full uri
  28. Bundle 'https://github.com/vim-scripts/vim-game-of-life'
  29. " full uri
  30. Bundle 'git@github.com:gmarik/ingretu.git'
  31. " short uri
  32. Bundle 'gh:gmarik/snipmate.vim.git'
  33. Bundle 'github:mattn/gist-vim.git'
  34. " local uri stuff
  35. Bundle '~/Dropbox/.gitrepos/utilz.vim.git'
  36. " Bundle 'file://Dropbox/.gitrepos/utilz.vim.git'
  37. " with options
  38. Bundle 'rstacruz/sparkup.git', {'rtp': 'vim/'}
  39. " Camel case
  40. Bundle 'vim-scripts/RubySinatra'
  41. filetype plugin indent on " Automatically detect file types.
  42. set wildignore+=doc " should not break helptags
  43. set wildignore+=.git " should not break clone
  44. BundleInstall
  45. func! s:assert_bundles() abort
  46. for b in g:bundles
  47. if (!isdirectory(b.path().'/.git/'))
  48. throw b.name.' not installed'
  49. endif
  50. endfor
  51. endf
  52. call s:assert_bundles()