Clear highlights after search

2 Points

Mattia Tezzele Mattia Tezzele

10 years ago

Cleaner solution to a common problem. More elegant than :noh, this actually maps :C to clear the last used search pattern.

:command! C let @/=""

Florian Beer

Florian Beer 10 years ago

Here is another variant: Snippet #60