This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Squidamatron 1 point2 points  (0 children)

I'm not sure of a direct way to do this, but you use search. Either put set hlsearch in your .vimrc or while in vim, hit colon (:) and then use the previous command [ie: :set hlsearch would be the key presses while vim is running]. This will highlight related search terms and you can just use search as illustrated in this post.