Wednesday, October 3, 2012

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

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?
>
Check out hicolors --

http://www.drchip.org/astronaut/vim/index.html#HICOLORS (cutting
edge)
http://vim.sourceforge.net/scripts/script.php?script_id=1081 (stable)

It gives help for highlighting colors by showing the name of the
highlight in
its currently selected color. Left-clicking on that color name will
bring you
to the help for it, and right-clicking on it will bring up a color editor.

Also, I suggest looking into using hilinks.vim:

http://www.drchip.org/astronaut/vim/index.html#HILINKS

This plugin provides a syntax stack trace and a highlighting stack trace
as you move your cursor about. In other words, as you move your cursor
about, hilinks will identify which syntax highlighting group is
responsible for what you see.

Regards,
C Campbell


--
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: