Thursday, July 7, 2011

Re: Changing elements of a color scheme

Eric Weir wrote:
> I've discovered a color scheme that I like better than the one I've been using since starting with Vim/MacVim a few months ago. However, there's one element that clashes for me -- the color of the cursor. I know what color I'd like it to be, i.e., the color that CameCase words get in a plugin I use using this scheme.
>
> How do I change the color of the cursor? How do I identify and specify the color I want?
>
May I suggest a few plugins:

* to identify the name of the syntax item that you want to change colors
for:

hilinks.vim:

http://mysite.verizon.net/astronaut/vim/index.html#HILINKS

This one provides the :HLT! command -- with it you'll get a syntax stack
trace and a highlighting stack trace as you move your cursor about.
Thus, you'll be able to identify what it is you want to change.


* to see what colors your colorscheme supports, and to modify it to
produce a custom colorscheme: check out hicolors,

http://mysite.verizon.net/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.

Regards,
Chip 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: