Jared wrote:
How do I change the background color used for cursorline in Vim 7.0? I'd
like to make it a few shades darker. It looks like it can be set with
hl-CursorLine, but I can't figure out how to actually do it.
I currently use the following setting in .gvimrc to set the color scheme:
highlight Normal guifg=white guibg=black
Hello!
Check out hicolors --
http://mysite.verizon.net/astronaut/vim/index.html#VimFuncs (see
"Highlight Colors Help and Editor")
http://vim.sourceforge.net/scripts/script.php?script_id=1081
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.
So, in your particular case, get hicolors from either of the two sites
mentioned, install it, then
:he hicolors
will show you, amongst the other colors, CursorLine (and CursorColumn)
in their own colors. After editing, save it and use it as your own
personal colorscheme.
Regards,
Chip Campbell