color-chooser.vim : a graphical RGB/HSV color selector
| script karma
Downloaded by 493
Comments, bugs, improvements
script versions (upload new version)
|This plugin allows you to insert and edit colors using a graphical color selection window. It makes #rrggbb hex color codes; as input it detects both #rrggbb hexcodes and X11 color names.
The script supports three language locales: English, Spanish, Czech.
The script requires Python version>=2.5 with PyGTK module and GTK to run. It works best with gVim (on xterm Vim there is a bug: the window does not close after the color is selected -- it is usable but awkward).
how to install:
Copy the file color-chooser.vim to your plugin directory ("~/.vim/plugin"). For the change to take effect, either restart Vim or source the script manually by the command
If you want to install the script for all users, copy it to the main plugin directory of Vim - usually "/usr/share/vim/vimcurrent/plugin".
After installation, the color selection window is launched by
Map it to a key, such as <F2>, this way:
:map <F2> :call ColorChooser()<enter>
The map command is commented in the script file, you can simply uncomment it.
Several options can be set by editing the "script configuration" section in the file -- they are described there.
Click on the package to download.
ip used for rating: 126.96.36.199