Ⅰ. 插件描述
gvim plugin to highlight hex codes in the colour they representⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'yurifury/hexhighlight-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'yurifury/hexhighlight-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'yurifury/hexhighlight-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/yurifury/hexhighlight
Ⅳ. 文档说明
description
This plugin looks for hex codes of the format #ffffff or #fff and toggles a highlight in that color. It is useful for editing colorschemes, and generally any config file dealing with colors.
Only works with the graphical version of vim.
install details
Put hexHighlight.vim into your .vim/plugins directory, or simply :source the file.
The default keymapping to toggle hex code highlighting is <Leader>F2, and the default <Leader> bind is "", so F2 should work by default.
The toggle can be called manually by :call HexHighlight()