Today I Learned

hashrocket A Hashrocket project

Go to the next/prev occurrence of a word in Vim

In Vim, if your cursor is over a word and you want to go to the next occurrence of that word in the file, just press *.

If you want to go to previous occurrence of the word, just press #.

See More #vim TILs
Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.