colorpicker


Ⅰ. 插件描述

A vim color picker plugin using gtk color chooser. Based on VIM-Color-Picker.

Ⅱ. 基本信息

创建日期:  2012-11-25
使用用户:  4
Github星:  7
插件作者:  Abimael Martinez

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

colorpicker

A nice color picker for vim. It grabs current selection for edition or simply inserts a new color in hex format.

installation

  • Extract the and put the files in your Vim directory (default is usually ~/vim/ under linux)
  • It also works with Bundle (Bundle 'abijr/colorpicker')

usage

When your are in insert mode or visual mode, press the <F5> button.
The color picker dialog appear, select a color and validate.

dependencies

For working, this script need:

  • VIM 7.x with Python support
  • PyGTK 2.x

添加新评论