Be honest. Sometimes happened also to you to see a file that you edited a while ago with Vim, still showing that terribly annoying yellow highlight. And I’m sure you probably gave up, thinking that the time was going to remove it.
Wrong!
Here how to get rid of it:
- open the file
- press ESC
- type :nohl
- press Enter
Alternatively, the way I kept to use (which seems easier to remember), is actually search for some crazy string.
For example:
- open the file
- press ESC
- type /fkjsaddflkjasd;flka
(randomly type stuffs) - press Enter
Done