Ⅰ. 插件描述
css/less/sass/html color preview for vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'etdev/vim-hexcolor'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'etdev/vim-hexcolor'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'etdev/vim-hexcolor'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/etdev/vim-hexcolor
Ⅳ. 文档说明
HexColor
This is a vim plugin that highlights hex and rgb color codes in css files etc. with that respectice color. It's a fork of vim-coloresque, but for hex and rgb values only (e.g. it won't automatically find and highlight colors like red or blue).
Preview: 
My changes: 
Overview
This is a merge of ap vim-css-color and colorizer.
Installation
Via vundle:
Bundle 'https://github.com/etdev/vim-hexcolor.git'Features
- You can still use hsl(a)

- Use multiple colors on the same line