Clear highlights after search

2 Points

Mattia Tezzele Mattia Tezzele

4 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 4 years ago

Here is another variant: Snippet #60