Search this site


Metadata

Articles

Projects

Presentations

Make vim's hlsearch behave like less(1)

Put this in your vimrc.
" Make hlsearch work like less(1)
set hlsearch
nnoremap <ESC>u :nohlsearch<CR>
hi Search ctermfg=black ctermbg=white