To turn off highlighting until the next search:
:noh
Or turn off highlighting completely:
set nohlsearch
Or, to toggle it:
set hlsearch! nnoremap <F3> :set hlsearch!<CR>
Last updated 6 years ago