When I search a text on isearch
due highlighed color it is not readable.
Following line does not have any affect on the main selected word on the isearch
:
(set-face-attribute 'lazy-highlight nil :foreground "black" :background "green")
Example:
[Q] How do I change the highlight color for selected text on isearch?
M-x customize-group isearch
,M-x customize-group lazy-highlight
– muffinmad Jan 31 '20 at 21:58(set-face-attribute 'lazy-highlight nil :foreground "black" :background "green")
which does not change the selected main word on the search – alper Jan 31 '20 at 22:25isearch
: Face for highlighting Isearch matches. – muffinmad Jan 31 '20 at 23:00M-x list-faces-display
to find out which face you're interested in. Then useM-x customize-face
. – Drew Jan 31 '20 at 23:50