duo-mini


Ⅰ. 插件描述

Two color, minimal vim colorscheme

Ⅱ. 基本信息

创建日期:  2019-09-05
使用用户:  1
Github星:  4
插件作者:  Calvin Cieslak

Ⅲ. 安装方法

使用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

duo-mini screenshot

Two color, minimal colorscheme. Based heavily on this fork of vim-colors-plain

Installation

Plug 'seesleestak/duo-mini'

set termguicolors
colorscheme duo-mini

Options & Usage

All colors are configurable. The defaults are based on the nord colorscheme with some tweaks.

OptionDescription
g:duo_mini_bgBackground color
g:duo_mini_fgNormal text color
g:duo_mini_primaryAccent color
g:duo_mini_subtleComment color
g:duo_mini_selectionVisual selection color
g:duo_mini_redUsed for git, diff
g:duo_mini_yellowUsed for git, diff
g:duo_mini_greenUsed 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"

添加新评论