Kamaraju S Kusumanchi wrote:
> consider
> 
> $ cat file.c
> /* kamaraju
>  * kamaraju
>  * kamaraju
>  */
> kamaraju
> 
> I use konsole with black background and white foreground  on Debian Etch,
> vim 7.0.122
> 
> $ cat .vimrc
> set hls
> syn enable
> 
> With this configuration, if I do
> 
> set background=dark
> 
> and search for the word kamaraju, then text highlighted inside the comments
> is very difficult to read. More over it is very difficult to see the cursor
> (when it is inside the comments and on the word kamaraju) position.
> 
> Is there any way to use background=dark and hls together and edit a C file
> (which includes comments) efficiently?

I don't see the issue. hls will just invert the fg & bg colours.
So if you can it fine unhighlighted, the invert should be OK too?
Can you describe the colours you see (or better yet take a screenshot)
I use vim on dark terminals exclusively and have tweaked things a little
in my ~/.vimrc: http://www.pixelbeat.org/settings/.vimrc

Pádraig.

Reply via email to