Vi/Vim search word exactly match like grep -w
As you may already knew that we can use option “-w” for grep to get the exactly whole word match while greping files.
For vi/vim we also can do the similar using pattern “/<yourword>”
/\<yourword\>
Similarly if you also need a case insensitive search you can add “\c” at the end
/\<yourword\>\c