How do I do a whole-word search like grep -w in Vim, which returns only lines where the sought-for string is a whole word and not part of a larger word?
grep -w
You want /\.
/\
If your cursor is on a word, then you can press * and it will do a word-only search for the word under the cursor.
*