Vim颜色方案插件不工作

时间:2015-10-27 21:12:49

标签: vim macvim vim-plugin color-scheme vundle

我正在尝试使用Vundle设置Vim,我现在正在尝试使用Vundle的配色方案插件。但是,每当我尝试获取并保存我的〜/ .vimrc文件时,它会告诉我我尝试使用的颜色方案不是有效的颜色方案。注意:当我获取〜/ .vimrc文件时,颜色方案有效,但我收到错误:

Vundle error: Name collision for Plugin VundleVim/Vundle.vim.
Plugin VundleVim/Vundle.vim previously used the name "Vundle.vim".
Skipping Plugin VundleVim/Vundle.vim.

并出现错误:

Error detected while processing function vundle#config#bundle..<SNR>8_check_bundle_name

我的〜/ .vimrc文件:

  1 set nocompatible              " be iMproved, required
  2 filetype off                  " required
  3
  4 " set the runtime path to include Vundle and initialize
  5 " set rtp+=~/.vim/bundle/Vundle.vim
  6 " call vundle#begin()
  7 " " alternatively, pass a path where Vundle should install plugins
  8 " "call vundle#begin('~/some/path/here')
  9 "
 10 " " let Vundle manage Vundle, required
 11  Plugin 'VundleVim/Vundle.vim'
 12  Plugin 'flazz/vim-colorschemes'
 13 "
 14 " " All of your Plugins must be added before the following line
 15 " call vundle#end()            " required
 16 " filetype plugin indent on    " required
 17 "
 18
 19 " Some settings to enable the theme:
 20  set number
 21  syntax enable
 22  set background=dark
 23  colorscheme molokai

0 个答案:

没有答案