Having hlsearch enabled, if I use something like :%s/search term/replacement term/gc
vim will highlight all occurrences of the search term by using black foreground on yellow background, but for the currently selected one it uses black foreground on white background, which is hard to spot due to the syntax highlighting pattern for latex files already using this for something else. How would I change the background colour of the currently selected result to, say, pink?
You can change that using:
The following colors should be available:
Other options you might be interested in are:
See
:h hi
for the complete help on these options.