Search for next

VimThis is a VIM tip. I saw it before, but I forgot it after a while. I saw it today, I don’t want lose it again, so I write it down.

When you are going though a document in VIM, you find a word and you want to go to the next same word in the document, you just need to put the cursor on the word and press * (SHIFT + 8).

What if you want to the previous one? Answer: # (SHIFT + 3).

This entry was posted in Programming and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>