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.

74 lines
1.7 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
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
  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. Bundle "gmarik/vundle"
  15. " vim-scripts name
  16. Bundle 'molokai'
  17. " github username with dashes
  18. Bundle 'vim-scripts/ragtag.vim'
  19. " original repo
  20. Bundle 'altercation/vim-colors-solarized'
  21. " with extension
  22. Bundle 'nelstrom/vim-mac-classic-theme.git'
  23. "
  24. " invalid uri
  25. Bundle 'nonexistinguser/yupppierepo.git'
  26. " full uri
  27. Bundle 'https://github.com/vim-scripts/vim-game-of-life'
  28. " full uri
  29. Bundle 'git@github.com:gmarik/ingretu.git'
  30. " short uri
  31. Bundle 'gh:gmarik/snipmate.vim.git'
  32. Bundle 'github:mattn/gist-vim.git'
  33. " local uri stuff
  34. Bundle '~/Dropbox/.gitrepos/utilz.vim.git'
  35. " Bundle 'file://Dropbox/.gitrepos/utilz.vim.git'
  36. " with options
  37. Bundle 'rstacruz/sparkup.git', {'rtp': 'vim/'}
  38. " Camel case
  39. Bundle 'vim-scripts/RubySinatra'
  40. Bundle 'wincent/Command-T.git'
  41. BundleMake :ruby puts( cmd = "cd #{File.expand_path($LOAD_PATH.grep(/command-?t/i).first)}/command-t/ && git checkout -f master && ruby extconf.rb && make clean && make");
  42. \ system(cmd)
  43. filetype plugin indent on " Automatically detect file types.
  44. set wildignore+=doc " should not break helptags
  45. set wildignore+=.git " should not break clone
  46. BundleInstall
  47. func! s:assert_bundles() abort
  48. for b in g:bundles
  49. if (!isdirectory(b.path().'/.git/'))
  50. throw b.name.' not installed'
  51. endif
  52. endfor
  53. endf
  54. call s:assert_bundles()