Ⅰ. 插件描述
A collection of themes for vim-airlineⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'vim-airline/vim-airline-themes'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'vim-airline/vim-airline-themes'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'vim-airline/vim-airline-themes'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-airline/vim-airline-themes
Ⅳ. 文档说明
This is the official theme repository for vim-airline
Installation
This plugin follows the standard runtime path structure, and as such it can be installed with a variety of plugin managers:
Plugin Manager | Install with... |
---|---|
Pathogen | git clone https://github.com/vim-airline/vim-airline-themes ~/.vim/bundle/vim-airline-themes <br/>Remember to run :Helptags to generate help tags |
NeoBundle | NeoBundle 'vim-airline/vim-airline-themes' |
Vundle | Plugin 'vim-airline/vim-airline-themes' |
Plug | Plug 'vim-airline/vim-airline-themes' |
VAM | call vam#ActivateAddons([ 'vim-airline-themes' ]) |
Dein | call dein#add('vim-airline/vim-airline-themes') |
minpac | call minpac#add('vim-airline/vim-airline-themes') |
manual | copy all of the files into your ~/.vim directory |
Using a Theme
Once installed, use :AirlineTheme <theme>
to set the theme, e.g. :AirlineTheme simple
To set in .vimrc, use let g:airline_theme='<theme>'
, e.g. let g:airline_theme='simple'
Note: The command :AirlineTheme
is only available, if you have also cloned and installed the main vim-airline repository.
Contribution Guidelines
New themes
- Pull requests for new themes are welcome. Please be sure to include a screenshot. You can paste an image into issue #1, and then editing the post to reveal the uploaded image URL. Please don't forgot to update the documentation.
Modifications to existing themes
- Themes are subjective, so if you are going to make modifications to an existing theme, please expose a configurable variable to allow users to choose how the theme will react.
Screenshots
Screenshots are in the process of being migrated here. In the meantime you can find screenshots in the existing repository's Wiki.
Maintenance
If you are interested in becoming the official maintainer of this project, please contact @bling, @chrisbra, or @mhartington.
License
MIT License. Copyright (c) 2013-2020 Bailey Ling & Contributors.