I have vim editor version 7.3
However in this when I search for a test by typing :/SEARCHTEXT
the cursor goes to the line containing the text which is searched, but the text itself is NOT highlighted.
I tried by typing :hlsearch
but i get an error saying E492: Not an editor command: hlsearch
Is this because the vim package I have installed does not support hlsearch
. If yes then can anyone please tell me which vim package should i install so that searched text will be highlighted ?
Thanks.
It is an option
open VIM and run
To turn it off
See http://vim.wikia.com/wiki/Highlight_all_search_pattern_matches for details