Ⅰ. 插件描述
Change the color scheme from a list of color scheme names.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'twe4ked/vim-colorscheme-switcher-you-belong-with-me'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'twe4ked/vim-colorscheme-switcher-you-belong-with-me'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'twe4ked/vim-colorscheme-switcher-you-belong-with-me'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/twe4ked/vim-colorscheme-switcher
Ⅳ. 文档说明
# Colorscheme Switcher
Change the color scheme from a list of color scheme names.
This is simply a clone of a script found on vim.wikia to make it easy to
Vundle. Version 2010-09-12 from vim.wikia.
Keybindings
F8- Next schemeShift-F8- Previous schemeAlt-F8- Random scheme
Commands
Set the list of color schemes used by the above (default is 'all').
:SetColors all- All$VIMRUNTIME/colors/*.vim:SetColors my- Names built into script:SetColors blue slate ron- These schemes:SetColors- Display current scheme names:SetColors now- Set the current color scheme based on time of day
You can use the following autocommand to automatically set up your normal colorshemes.
autocmd VimEnter * :silent! SetColors bclear solarized jellybeans