[英]installing daylerees color scheme for vim using vundle - mac os x
I installed Vundle to my /Users/name directory (ie /Users/name/.vim/bundle/Vundle.vim) a while ago, and set up a .vimrc file in my root directory which has the following: 不久前,我将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
I ran :PluginInstall
as suggested and it says everything has been installed, but I get a "color scheme frontier not found" error everytime I open vim. 我按照建议运行了
:PluginInstall
,它说所有东西都已安装,但是每次我打开vim时都会收到“找不到配色方案边界”错误。
This is as far as I've done, am I missing any steps? 就目前而言,我是否缺少任何步骤?
Add the following line after the filetype
line: 在
filetype
行之后添加以下行:
syntax on
And move your colorscheme frontier
line anywhere after the call vundle#end()
line. 并在
call vundle#end()
行之后的任意位置移动您的colorscheme frontier
行。
I think you might be mixing the old and new Vundle syntaxes. 我认为您可能会混合使用旧的和新的Vundle语法。 Instead of
代替
Bundle 'daylerees/colour-schemes', { "rtp": "vim/" }
try 尝试
Plugin 'daylerees/colour-schemes', { 'rtp': 'vim/' }
Note the use of single quotes instead of double quotes. 请注意使用单引号而不是双引号。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.