Skip to content

autoseg/ColorSelect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

ColorSelect for VIM

This is a mirror of http://www.vim.org/scripts/script.php?script_id=3374

Install

  • If you use git to version your vim configs, and use pathogen

git submodule add git://github.com/kassio/ColorSelect.git bundle/ColorSelect
  • Else, download ColorSelect and copy contents of subdirectory plugin to ~/.vim/plugin

Dependencies

You’ll need ruby with gtk gems working, to this see the follow link:
Instalando Ruby-GTK no RVM

Features

This opens a gtk color dialog, when select a color this is writed on document.

Options

  • g:FormatResultColorSelect_
    • Function: Sets the format returned by ColorSelect
    • Default: hexadecimal
    • Possibles: ‘hex’ or ‘rgba’
  • g:CaseResultColorSelect_
    • Function: Sets, in hex mode, case of return
    • Default: upcase
    • Possibles: ‘upcase’ or ‘dowcase’

To add a shortcut


"ColorSelect
imap <F5> <esc>:ColorSelect<CR>

Releases

No releases published

Packages

No packages published