我正在尝试使用 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