我已将Bundle 'ap/vim-css-color'
添加到.vimrc
部分下的" original repos on github
并运行:BundleInstall
,但我看不到它显示在新版本中的新安装的列表中缓冲。实际上,即使我在Bundle
中注释掉.vimrc
行并执行:BundleClean
,该插件仍会保留在该列表中。
如何让Vundle工作?
我的.vimrc
set nocompatible
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 'tpope/vim-haml'
Bundle 'ap/vim-css-color'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'vim-scraper/packages'
Bundle "pangloss/vim-javascript"
" vim-scripts repos
Bundle 'surround.vim'
Bundle 'delimitMate.vim'
Bundle 'hail2u/vim-css3-syntax'
" Bundle 'skammer/vim-css-color'
" Bundle 'AutoComplPop'
" Bundle 'ervandew/supertab'
Bundle 'snipMate'
Bundle 'tComment'
" Bundle 'mru.vim'
Bundle 'scrooloose/nerdtree'
Bundle 'matchit.zip'
Bundle 'Vimball'
Bundle 'ScrollColors'
Bundle 'L9'
Bundle 'FuzzyFinder'
" non github repos
Bundle 'git://git.wincent.com/command-t.git'
运行:BundleInstall
" Installing bundles to /home/max/.vim/bundle
Bundle 'gmarik/vundle'
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-haml'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup'
Bundle 'pangloss/vim-javascript'
Bundle 'surround.vim'
Bundle 'delimitMate.vim'
Bundle 'hail2u/vim-css3-syntax'
Bundle 'skammer/vim-css-color'
Bundle 'snipMate'
Bundle 'tComment'
Bundle 'mru.vim'
Bundle 'scrooloose/nerdtree'
Bundle 'matchit.zip'
Bundle 'Vimball'
Bundle 'ScrollColors'
Bundle 'L9'
Bundle 'FuzzyFinder'
Bundle 'git://git.wincent.com/command-t.git'
Helptags
答案 0 :(得分:2)
正如romainl所提到的,你有冲突的名字。 Vundle在保存时并没有真正区分Github用户名,只是存储库的名称。换句话说,如果您从skammer/vim-css-color
切换到ap/vim-css-color
,则不会注意到。看看它如何存储捆绑包:
$ ls -l .vim/bundle/
total 88K
[..]
drwxr-xr-x 5 tim tim 4.0K 12.04.13 00:31 vim-autoclose
drwxr-xr-x 4 tim tim 4.0K 11.05.13 03:27 vim-css-color
drwxr-xr-x 6 tim tim 4.0K 12.04.13 00:30 vim-easymotion
[..]
因此;清理你的烂摊子:
*/vim-css-color
条目:BundleClean
- 请注意它是否要求删除Bundle 'vim-css-color'
,而不是指定Github用户名。 Bundle 'ap/vim-css-color'
:BundleInstall
- 现在安装Bundle 'ap/vim-css-color'