Sunday, May 29, 2011

Re: highlight all words matching the word under the cursor

Turn the hlsearch option on.

:set hlsearch

Then position your cursor over the word you want and hit * which will simply perform a search for the word under the cursor.  You can even use n and N to take you to each occurrence.

Quincy

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment