Last Updated: February 25, 2016·
Highlight/find all strings matching the string under the cursor
Say you're looking at some code in vim in visual mode:
The cursor is over the string
include. Pressing the
* key then goes through the page and highlights all matches as such:
You can even see the regex vim produced at the bottom of the window.
Written by Matt Campbell
Basic Vim commands - For getting started
Format JSON in vim
Have a fresh tip? Share with Coderwall community!
Post a tip
Best #Vim Authors
Sponsored by #native_company# — Learn More