Ⅰ. 插件描述
Highlights hex codes in css files with colors they represent.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'mamut/vim-css-hex'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'mamut/vim-css-hex'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'mamut/vim-css-hex'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/mamut/vim-css-hex
Ⅳ. 文档说明
===========
css-hex
Plugin for gvim that highlights hex codes with color they represent.
Installation:
Just put css-hex.vim in your .vim/plugin directory. Or better, use pathogen.
Disclaimer:
Based on plugin by Yuri Feldman - http://www.vim.org/scripts/script.php?script_id=2937 - released on WTFPL.
Illustration:
.. image:: http://github.com/KrzysztofUrban/vim-css-hex/wiki/vim-css-hex.png