Posts Tagged ‘hlsearch’

To highlight any results found when searching in Vim, you can use :set hlsearch. To turn off the highlighting, use :nohlsearch. If search highlighting is something you always want turned on, you can add set hlsearch (no colon) to your .vimrc file. If, like me, you like to turn off the search highlighting after you’ve […]