Ⅰ. 插件描述
Two color, minimal vim colorschemeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'seesleestak/duo-mini'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'seesleestak/duo-mini'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'seesleestak/duo-mini'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/seesleestak/duo-mini
Ⅳ. 文档说明
# duo-mini

Two color, minimal colorscheme. Based heavily on this fork of vim-colors-plain
Installation
Plug 'seesleestak/duo-mini'
set termguicolors
colorscheme duo-miniOptions & Usage
All colors are configurable. The defaults are based on the nord colorscheme with some tweaks.
| Option | Description |
|---|---|
g:duo_mini_bg | Background color |
g:duo_mini_fg | Normal text color |
g:duo_mini_primary | Accent color |
g:duo_mini_subtle | Comment color |
g:duo_mini_selection | Visual selection color |
g:duo_mini_red | Used for git, diff |
g:duo_mini_yellow | Used for git, diff |
g:duo_mini_green | Used for git, diff |
For example, if you wanted to change the background color to something darker you could set the following in your .vimrc:
let g:duo_mini_bg = "#00000F"