我将Bundle 'ap/vim-css-color'添加到我的.vimrc中的" original repos on github部分下,并运行:BundleInstall,但我没有看到新缓冲区中显示的新安装的包的列表。事实上,即使我在.vimrc中注释掉一行Bundle代码并执行: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发布于 2013-05-11 09:34:15
正如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
[..]因此,清理一下你的烂摊子:
:BundleClean列表--注意它是如何询问你是否要删除*/vim-css-color的,并且没有指定Bundle 'vim-css-color'用户名。Bundle 'ap/vim-css-color':BundleInstall -现在安装Bundle 'ap/vim-css-color'https://stackoverflow.com/questions/16486032
复制相似问题