I'm editing a file and open a preview window. When I search with /, I'd like the main window to show highlighted matches, but for the preview window not to.
nohlsearch seems to be global, so I can't :setl nohlsearch in the preview window to get what I want. Maybe there's a way to modify color scheme settings in the preview window to make highlighted matches look as if they aren't highlighted? Thanks for the help.