Ⅰ. 插件描述
Highlight X11 color name strings with appropriate colors (vim, gvim)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'trapd00r/x11colors-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'trapd00r/x11colors-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'trapd00r/x11colors-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/trapd00r/x11colors.vim
Ⅳ. 文档说明
# NAME
x11colors.vim
DESCRIPTION
This script highlights X11 color name strings with the appropriate color.
In gvim, the exact same color is used. In standard vim, an approximation is
used - there's only 240 colors to pick from.
It is however possible to achieve the exact same thing in standard vim. See
colorcoke for what's possible to do. It just needs someone to implement
- That someone could be you!
