6 ms·
Enter is actually a good candidate for something like that: " turn off highlighted results (set nohlsearch) when pressing enter. " just pressing n or N wil
by sce 15y ago
Enter is actually a good candidate for something like that:
" turn off highlighted results (set nohlsearch) when pressing enter.
" just pressing n or N will turn the highlight back again
nnoremap <cr> :noh <cr>
https://github.com/sce/dotfiles https://github.com/sce/dotfiles