Ⅰ. 插件描述
Colorsheme Scroller, Chooser, and BrowserⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/scrollcolors'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/scrollcolors'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/scrollcolors'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/ScrollColors
Ⅳ. 文档说明
SYNOPSIS:
This is colorscheme Scroller/Chooser/Browser.
With this plugin, you walk through installed colorschemes using arrow keys.
SHORT USAGE DESCRIPTION:
Drop ScrollColors.vim into your plugin directory.
Type :SCROLL
Use arrow keys to walk through colorschemes, ? for help, Esc to exit.
DETAILED DESCRIPTION:
1. source ScrollColors.vim " or drop ScrollColors.vim into
" your ~/.vim/plugins directory
2. Type :SCROLL
Another synonym is :COLOR
3. Use arrows to scroll thgough colorschemes.
4. When done, press Esc to exit. You will be prompted
wether to
You can download 140 colorschemes pack from:
http://www.vim.org/scripts/script.php?script_id=625
Having 140 installed colorschemes is in no way prerequisite for ScrollColors. But with ScrollColors you can preview 140 colorschemes in couple of minutes. Have fun.
CUSTOM KEY MAPPINGS:
You can map two keys of your choice to NextColor and PrevColor actions.
Choose pair of shortcut keys (for example <F2> and <f3>, or n and p)
and map them as follows:
map <silent><F3> :NEXTCOLOR<cr>
map <silent><F2> :PREVCOLOR<cr>
Works both in vim6 and vim7.