Ⅰ. 插件描述
vim-airline theme for use with joshdick/onedark.vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'joshdick/airline-onedark-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'joshdick/airline-onedark-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'joshdick/airline-onedark-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/joshdick/airline-onedark.vim
Ⅳ. 文档说明
# airline-onedark.vim
This is a vim-airline theme for use with the joshdick/onedark.vim colorscheme.
This theme depends on onedark.vim for its colors, and must therefore be used in conjunction with it.
This theme works with both color modes available in onedark.vim (16 or 256 colors), as specified in the configuration for onedark.vim.
This theme is based on vim-airline's "tomorrow" theme.

Preview image taken using:
- iTerm2 terminal emulator on Mac OS X
- 12 pt. PragmataPro Mono font
Installation
(These instructions assume that vim-airline and onedark.vim are already installed and configured to your liking.)
Place onedark.vim in your ~/.vim/autoload/airline/themes/ directory either manually or by using your Vim plug-in manager of choice, then add the following line to your ~/.vimrc:
let g:airline_theme='onedark'