Dismiss Highlight

6 Points

Gerardo Galíndez Gerardo Galíndez

4 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 2 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 1 year ago

" I think is better making the option boolean

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