highlighting is become annoying after I found the target word by using /string in vim , could any body tell me what is the quickest way to shutdown highlighting ? thanks
The simplest way is to enter the :noh
command.
Additionally, you can add this line to your .vimrc
to map that command to the Enter key, so you can simply press Enter after searching to clear highlight:
:nnoremap <CR> :noh<CR><CR>
:noh
again!If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With