Monday, October 1, 2012

Re: change display colors. which rule causes which color?

To see the "group" I use:

map <F10> :echo "hi<"
synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>

To see the colors associated with a group use:

:highlight "groupname"


I also have a color chooser
https://github.com/megaannum/forms/blob/master/images/examples_colorchooser.png

which is part of the Forms library:
https://github.com/megaannum/forms
http://www.vim.org/scripts/script.php?script_id=4150

and a color schemer viewer (built on top of Forms)
https://github.com/megaannum/colorschemer
http://www.vim.org/scripts/script.php?script_id=4240

Richard

On 10/01/2012 03:32 PM, Gelonida N wrote:
> I'm having terminal-windows with dark backgrounds.
>
> The problem is, that all dark blue colors are very difficult to recognize.
>
> Ideally I'd like to change all dark blue vim colors into a lighter blue
> or another color.
>
>
> My Questions:
>
> Is there an easy way to globally change one color with another.
>
> Alternatively.
>
> If I see something in a color, that I don't like.
>
> Is there any way to place my cursor on the 'badly' coloured word and
> find out which rule set the color for that word?
>

--
Quis custodiet ipsos custodes

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: