Ⅰ. 插件描述
VIM plugin to easily switch vim color schemesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'aurelien-rainone/colorschwitch'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'aurelien-rainone/colorschwitch'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'aurelien-rainone/colorschwitch'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/aurelien-rainone/colorschwitch
Ⅳ. 文档说明
# colorschwitch
VIM plugin to easily switch vim color schemes
Switch through your installed vim color schemes with:
| Shortcut | Action |
|---|---|
| F6 | Previous colorscheme |
| F7 | Next colorscheme |
By default, <F6> and <F7> will switch through all your installed
- If you wish to switch through a subset of colorschemes made of
- favourites ones, say it to your
.vimrc, as follows:
let g:colorschwitch_schemes = ['delek', 'slate', 'gotham256', 'sourcerer', 'morning']Original version of this script was simply copy-pasted from
vim.wikia.com/wiki/Switch_color_schemes.
Some things have been modified since.