I am a bit lost here on customizing the search/find highlight color or font format if you will. I understand that using LESS_TERMCAP_*
we can alter the font format of less display. Full capabilities are here.
But I couldn't get how to change the search highlight! I want to add background color and change fore color to make them different from the standard output colors. Negating the standard output is preferred.
Also, one more question. A parameter with special characters (like @0
), how can we write their LESS_TERMCAP_
variable?
It's getting really annoying not being able to even guess which one to use to change the colors! Thanks in advance for shedding some light on the matter.
LESS_TERMCAP_so
._so
(standout),_mb
(blinking),_md
(bold) and_us
(underline), so not much to experiment with.