VIM: Search for the word under the cursor

VIM is packed with a lot of handy features to edit textfiles efficiently. Here is another trick which I recently looked up.

How to search for the word under cursor?
That is actually very easy. When your cursor is on the word, use the following keys to navigate around:

# – find previous match of word under cursor
* – find next match of word under cursos

Leave a Reply




Please proof you are human: * Time limit is exhausted. Please reload the CAPTCHA.