Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'taohexxx/lightline-solarized-say-im-great'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'taohexxx/lightline-solarized-say-im-great'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'taohexxx/lightline-solarized-say-im-great'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/taohexxx/lightline-solarized
Ⅳ. 文档说明
# lightline-solarized
A solarized color theme for lightline.vim
Usage
- Make sure you've already installed lightline.vim
Add this repo to your favorite vim plugin manager
If you are using Dein.vim (recommended)
call dein#add('taohexxx/lightline-solarized')
If you are using [NeoBundle](https://github.com/Shougo/neobundle.vim)
NeoBundle 'taohexxx/lightline-solarized'Add this block to your init.vim (for neovim) or .vimrc (for vim)
" use lightline-solarized in lightline let g:lightline = { \ 'colorscheme': 'lightline_solarized', \ }
Customizing Colors
For example, if you want to change the color of the currently selected buffer, you can modify autoload/lightline/colorscheme/lightline_solarized_dark.vim and change the line let s:p.tabline.tabsel = .... It defines the colors for the selected tab in tabline. In general, each palette in this file follows the following style: let s:p.{mode}.{where} = [ [ {fg}, {bg} ] ].
Then run vim and execute the following lines to clear cache, if you are using Dein.vim.
:call dein#clear_state()
:call dein#update()