Ⅰ. 插件描述
A 256 colors vim colorschemeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'ercolanelli-leo/candyvirus'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'ercolanelli-leo/candyvirus'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'ercolanelli-leo/candyvirus'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/ercolanelli-leo/candyvirus
Ⅳ. 文档说明
##Overview
CandyVirus is a dark and light colorscheme for the vim text editor.
It as been tested and adapted especially for C, C++, and Shell Script. Other
languages has not been tried, but should be fine if your syntax files
assign the right tokens.
Installation
For non Vundle/Pathogen users
Put the candyVirus.vim file in your ~/.vim/colors/ directory. If it
doesn't exist, create it. (You can also make a symlink)
For Vundle/Pathogen users
Just clone this repository to your bundle/plugin directory.
Next step (regardless of your vim configuration)
Add to your ~/.vimrc file the following command (without quotes):
'colorscheme candyVirus'
If colors aren't displaying properly, also add to your ~/.vimrc:
'set t_Co=256'
Switching colors
The colorscheme has 2 mode, a light one and a dark one. To switch between
the two, you can use the CandyLight_, _CandyDark ans CandySwitch vim
commands.
You can either use these commands in a vim session, or in your vim config
files.
By default, the dark version is set.
Screenshot


Credits
Created by Ercolanelli Léo
MIT License