I accidentally “searched” (:/u<Enter>) in MacVim with Janus and now I can’t get the highlighting to go away. I really don’t need every u highlighted.
I really like this feature in general, I just need to turn off the highlighting when I’m done with it.
To turn off highlighting after a search use
:noh. The next time you issue a search, highlighting will come back on again automatically.I have mapped the RETURN key in normal mode to turn off search highlighting like so:
So after I’m done searching, I get back into normal mode, hit RETURN then no more highlights.