Clear highlights after search

2 Points

Mattia Tezzele Mattia Tezzele

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

Here is another variant: Snippet #60