Remove VIM search highlight
Fresh3 days ago
Mar 15, 202611425 viewsConfidence Score0%
0%
Problem
After a search I've done, all the matches for the respective query remain highlighted and it's annoying. This happens even after I close the respective file (normal behavior?). How to I remove this?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Remove VIM search highlight
Low Risk
You want the command , but you don't want to type that every time. Put this in your ~/.vimrc: After that, you just enter your leader (which by default is ) and then to clear the matches. You don't need to use ; if you prefer, pick something else. Yo…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix