Dismiss Highlight

6 Points

Gerardo Galíndez Gerardo Galíndez

8 years ago

When using the search, next, repeat combo, highlight must be dismissed when finished.

nmap <Leader><Space> :nohl<cr>

Durga Swaroop Perla

Durga Swaroop Perla 6 years ago

My Leader is Space :D

I have this mapped to <Leader>h

Sérgio Luiz Araújo Silva

Sérgio Luiz Araújo Silva 5 years ago

" I think is better making the option boolean

nnoremap <Leader><Space> :set hls!<cr>