After :s/X/Y/g, all search highlights disappear. I'd ilke all highlights to switch from X to Y`s. Is there easy way, after :s/X/Y/g, to highlight all Y`s (all just repalced places) ?
Yup
/~
should do the trick. If you want to map it and use it so that it
doesn't move the cursor from your last position, you can try
:map <f4> :let @/='~'<cr>
Seems to do the trick for me to rehighlight the replacement text.
:help /~
-tim
