Originally Posted by maitree@123
No . I mean when I open a file in vi editor then I want to search a word in the entire file and that word should be hightlighted.
Of course you can do that in Vi(m)...
:set hlsearch (probably on by default, but just in case)
All occurances will be hilighted and cursor will be on the first one after initial cursor position.
To move cursor to next occurance...
...or to previous one...
Why is that hard?