How do you make Vim unhighlight what you searched for? [duplicate]

I search for “nurple” in a file. I found it, great. But now, every occurrence of “nurple” is rendered in sick black on yellow. Forever.

Forever, that is, until I search for something I know won’t be found, such as “asdhfalsdflajdflakjdf” simply so it clears the previous search highlighting.

Can’t I just hit a magic key to kill the highlights when I’m done searching?

14 Answers
14

Leave a Comment