Ⅰ. 插件描述
Vim ColorthemeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'maxst/flatcolor'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'maxst/flatcolor'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'maxst/flatcolor'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/maxst/flatcolor
Ⅳ. 文档说明
# This theme is deprecated! Please use https://challenger-deep-theme.github.io/ instead.
FlatColor
Terminal True Color Support
Add this to your .vimrc to enable true colors:
if has('nvim') || has('termguicolors')
set termguicolors
endifScreenshot

Options
- g:flatcolor_termcolors:
This options sets the terminal colors to 16 or 256 Colors. Default value is 256.
If it is set to 16 ,this colorscheme will attempt to use the standard 16 colors of your terminal emulator and background color will be the default background color of your terminal emulator.
For the best colors in terminal, its recommended to set set your terminalcolors to FlatColor Terminal Colors and use 16 colors.
FlatColor Terminal Colors
! ~/.Xresource
*.foreground: #cbe3e7
*.background: #1e1c31
*.cursorColor: #fbfcfc
! black
*.color0: #565575
*.color8: #100e23
! red
*.color1: #ff8080
*.color9: #ff5458
! green
*.color2: #95ffa4
*.color10: #62d196
! yellow
*.color3: #ffe9aa
*.color11: #ffb378
! blue
*.color4: #91ddff
*.color12: #65b2ff
! magenta
*.color5: #c991e1
*.color13: #906cff
! cyan
*.color6: #aaffe4
*.color14: #63f2f1
! white
*.color7: #cbe3e7
*.color15: #a6b3ccLightline Theme

FlatColor supports lightline.vim. To enable the colorscheme,
add one of the following lines to your .vimrc:
let g:lightline = { 'colorscheme': 'flatcolor' }