PDA

View Full Version : Color Picker for Vim



mvalviar
May 24th, 2009, 08:33 PM
Can anyone suggest a color picker plugin for vim? Gedit has a cool color picker plugin. I'm wondering if there is something similar for vim.

imploder
August 4th, 2009, 02:20 PM
I've found and installed this: colorsel.vim (http://www.vim.org/scripts/script.php?script_id=927)
It works, but it has two major downsides:
- no mouse support, using the arrows is slow and awkward
- it does not load the color from the place of the cursor in the file, nor does it directly change the color code (I have to copy/past it)
When running in X, it has in fact no advantege over external color pickers.
I wonder too if there is a better solution, something that could show and edit colors directly from (g)vim (it doesn't matter if it would be an external window). As far as I've looked, there's no such thing.
It would be helpful a lot for coding HTML/CSS.
:confused:

stroyan
August 4th, 2009, 09:04 PM
If you are picking colors to look for a nice color scheme, then
http://code.google.com/p/vimcolorschemetest/
provides a nice way to just scan for an attractive scheme.

JordyD
August 5th, 2009, 03:19 AM
If you are picking colors to look for a nice color scheme, then
http://code.google.com/p/vimcolorschemetest/
provides a nice way to just scan for an attractive scheme.

I believe their looking for a plug-in that gives the hexadecimal values of colors so that they can paste it into their code.

FLOZz
September 18th, 2010, 08:31 PM
There is a Python/GTK color picker for vim:

http://static.flogisoft.com/vim/vim_color_picker_0.1.png

http://www.vim.org/scripts/script.php?script_id=3224