Date Tags vim

Highlighting in Vim is super useful when trying to quickly see where something is being used. The following commands can be added to your vimrc file to make highlighting a breeze:

"{-- Commands to highlight the word under the cursor without moving the buffer view or cursor. --
" Case sensitive, partial match inclusive.
noremap hi :set hlsearch:let @/=''
" Case sensitive, no partial match.
noremap ho :set hlsearch:let @/='\<\>'
" Case insensitive, partial match inclusive.
noremap hu :set hlsearch:let @/='\c'
" Case insensitive, no partial match.
noremap hy :set hlsearch:let @/='\<\>\c'
" Command to remove highlighting.
noremap noh :noh

Hi, I am Jeff Rimko!
A computer engineer and software developer in the greater Pittsburgh, Pennsylvania area.