How to turn off highlighting after using search?
highlight, vim
Solution
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>
- vim clear last search highlighting
- A Vim and ViEmu mapping you really can’t miss - never type `:noh` again!
Problem
Search highlighting becomes annoying after I've found the target word by using `/string` in vim. Could someone tell me what is the quickest way to turn off search highlighting? Thanks.