次の方法で共有


Vim Tip: Better Searching

Two things I discovered about searching:

* will search forward for the word under the cursor.  No longer do I have to type /WordUnderTheCursor.

# does the same thing, but goes backwards.  It's like ?WordUnderTheCursor.

 

g* will search for any word containing the word under the cursor.  So g* on the word count will find count, GetCount, Counter, etc.

g# is the same thing in reverse.