Ⅰ. 插件描述
Solarized colorscheme and theme for vim-powerline with a focus on terminal Vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'stephenmckinney/vim-solarized-powerline'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'stephenmckinney/vim-solarized-powerline'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'stephenmckinney/vim-solarized-powerline'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/stephenmckinney/vim-solarized-powerline
Ⅳ. 文档说明
# Solarized theme for vim-Powerline
Solarized dark and light colorschemes as well as a short and long theme for vim-Powerline.
Using Solarized 256 and 16 color values.
Installation
Using Pathogen, NeoBundle, or Vundle load vim-powerline thenvim-solarized-powerline, e.g.
NeoBundle 'Lokaltog/vim-powerline'
NeoBundle 'stephenmckinney/vim-solarized-powerline'
Solarized 256 colors
This colorscheme is based on Solarized colors, setting the approximate values for the Solarized palette, using the XTERM
limited 256 terminal color values. It combines Solarized with Powerline default colors. To set the short theme and dark
colorscheme for example:
let g:Powerline_theme='short'
let g:Powerline_colorscheme='solarized256_dark'
Solarized 16 colors
This colorscheme is based on Solarized colors, setting the specific values for the Solarized palette, using the
terminal's 16 ansi color values. It combines Solarized with Powerline default colors.
Using 16 ansi color values gives the best results for terminal Vim.
See Solarized documentation on terminal integration.
To set the short theme and dark colorscheme for example:
let g:Powerline_theme='short'
let g:Powerline_colorscheme='solarized16_dark'
Credits
There are other Solarized vim-powerline colorschemes (see @e-mux, @skwp, @patricklewis)
this one is my opinionated version.