我在前一段时间将Vundle安装到我的/Users/name目录(即/Users/name/.vim/bundle/Vundle.vim),并在我的根目录中设置了一个.vimrc文件,该文件具有以下内容:
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Bundle 'daylerees/colour-schemes', { "rtp": "vim/" }
colorscheme frontier
call vundle#end()
filetype plugin indent on
我按照建议运行:PluginInstall
,它说一切都已安装,但每次我打开vim时,我都会得到"配色方案边界未找到"错误。
这是我所做的,我错过了任何步骤吗?
在filetype
行之后添加以下行:
syntax on
和移动你的colorscheme frontier
行任何在 call vundle#end()
行之后
我想你可能把新旧Vundle语法混在一起了。而不是
Bundle 'daylerees/colour-schemes', { "rtp": "vim/" }
试
Plugin 'daylerees/colour-schemes', { 'rtp': 'vim/' }