Skip to main content

New answers tagged

1 vote
Accepted

How do I highlight all words in a vi file via "*" with the cursor on that word?

* in normal mode will search for the word nearest to the cursor. I suspect the reason you aren't seeing the highlight is that hlsearch is off. To fix this, use :set hls
nullromo's user avatar
  • 270

Top 50 recent answers are included