loupe icon indicating copy to clipboard operation
loupe copied to clipboard

Document advanced customization of LoupeHighlight and Search highlight groups

Open kyhy opened this issue 9 years ago • 3 comments

When I install the plugin, all matched terms doesn't have special style as in the Loupe introduction video. Is there a special setting to enable the underline style for matched terms?

kyhy avatar Jun 15 '16 00:06 kyhy

If I recall correctly, the answer is in my dotfiles.

I liked the underline thing, so I set up a custom highlight group for LoupeHighlight (that's the bright yellow that you see in the video). And then I set Search to be a link to VisualNOS (which is the underlined styling you can see in the video).

I wasn't going to mention this in the screencast because I didn't want to make it too complicated, but thanks for bringing it up: I should either explain how to do this in the docs, or post a follow-up to the screencast.

wincent avatar Jun 15 '16 00:06 wincent

Note that I use Pinnacle, a tiny little plug-in that I wrote, to make a copy of the Search highlight before overwriting it with VisualNOS.

wincent avatar Jun 15 '16 00:06 wincent

I'm failing at setting this up but let g:LoupeHighlightGroup='Error' helps. Thanks!

kyhy avatar Jun 15 '16 01:06 kyhy