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

Warning
ayu is still in development and a lot of things need to be covered. Theme works only if VIM supports termguicolors option. This is true for Neovim and VIM from 7.4.1799.
Installation
Plug 'ayu-theme/ayu-vim' " or other package manager
"...
set termguicolors " enable true colors support
let ayucolor="light" " for light version of theme
let ayucolor="mirage" " for mirage version of theme
let ayucolor="dark" " for dark version of theme
colorscheme ayuTerm colors
For now In /term you can find color schemes for iTerm. More to come.
Indent line
To get indent line like in the screenshot install https://github.com/Yggdroot/indentLine with my version of Roboto Mono for Powerline from this repo and add this config.
In this Roboto Mono version added powerline glyphs and increased line-height of the font itself.
" IndentLine {{
let g:indentLine_char = ''
let g:indentLine_first_char = ''
let g:indentLine_showFirstIndentLevel = 1
let g:indentLine_setColors = 0
" }}