In GVIM how can we search and highlight while keeping the previous search highlighted. Example As we search a new pattern the previous pattern gets un-highlighted.
So is ter a way we can retain the previous search highlighted while searching new patterns simultaneously.
For your second search you can use
:2match Search /pattern/
For a third search term you can use :3match.
If you don't want to type this, you can put a command like this in
command -nargs=1 S2 :2match search /<args>/
And in VIm just type
You can use this:
Which will insert current search pattern, and start an alternative.