HiColors


Ⅰ. 插件描述

Colorscheme display and editor

Ⅱ. 基本信息

创建日期:  2004-09-03
使用用户:  1
Github星:  2
插件作者:  Charles Campbell

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/hicolors'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/hicolors'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/hicolors'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/HiColors

Ⅳ. 文档说明

You'll get to see your colornames' colors and edit your colorscheme with the hicolors ftplugin/syntax/help files.  Leftclick on any colorname and you'll bring up the help page on that colorname (if any).

To see an example, click on

http://www.drchip.org/astronaut/vim/colors/hicolors.html

to see hicolors displaying the astronaut colorscheme (vimscript#122) color selections for the various highlighting groups.

This script is auto-installable via GetLatestVimScripts, too (vimscript#642).

Use it with vimscript#625 (colorscheme sampler) to see what highlighting groups are supported and what the colors will be.

Bring up the colorscheme editor on each color by right-clicking on the color's name.  Use the mouse's left button to click and drag on the colorbars to select and change colors.  It works with both the gui and those console vims which support the mouse!  You can then write the colorscheme (you'll be prompted for a filename), cancel the change, or indicate that the change is done for that colorname.


USAGE

    :help hicolors
    <leftmouse>    on a colorname to bring up help on that colorname
    <rightmouse>   on a colorname to bring up the colorscheme editor for that color
      <leftmouse>  click&drag on any colorbar to change the color for that colorname
      <leftmouse>  to select WriteColorscheme, Cancel, or Done


(alpha/beta version available at http://www.drchip.org/astronaut/vim/index.html#HICOLORS)

添加新评论