10 years ago
Cleaner solution to a common problem. More elegant than :noh, this actually maps :C to clear the last used search pattern.
:noh
:C
:command! C let @/=""
Florian Beer 10 years ago
Here is another variant: Snippet #60
Florian Beer 10 years ago
Here is another variant: Snippet #60