edran / hc-zenburn-emacs

An higher contrast version of the popular Zenburn theme for Emacs
45 stars 7 forks source link

Make search highlighting more visible #6

Closed synic closed 8 years ago

synic commented 9 years ago

The current search highlighting works in emacs lisp, because there aren't as many yellow keywords. Have a look at this python code:

http://d.pr/i/1bGgw/2pQbvvpl

As you can see, there are already a LOT of yellow keywords. Unfortunately, the lazy-highlight color as it is now is almost the same color. It makes it hard to see previous searches.

This makes a big change from OG zenburn by putting the first match background as a green color, and then using a light background color for the persistent searches.

I'd post screenshots of those, but it turns out to be pretty hard to get a one before the search persist goes away.

Another thing I'd like to change, but I haven't figured out how:

When search persist stops, the search terms still remain "highlighted" with the regular "highlight" face. I really like the current highlight face for selections, however, those search terms are hard to see. The black background is hard to distinguish from the regular background when it doesn't extend past the term you were searching for.