To search in Vim just press (apple-f for macvim) / then search string.
This will highlight all occurrences of ‘search’, to clear the highlighting enter:
:let @/ = ""
To search and replace the first occurrence on this line only:
Lines 1 to 10 all instance per line (thats the /g global):
All Lines All instances
[Stack overflow vim clear question][clear] [src]: http://www.linux.com/learn/tutorials/8255-vim-tips-the-basics-of-search-and-replace [clear]: http://stackoverflow.com/questions/657447/vim-clear-last-search-highlighting