How to execute Vim replace command without effect of current search pattern?
I want to go to lines containing a specific pattern and determine whether to apply the: s command.
But after using the: s command, the '/' register was replaced with a pattern in the: s command, and it was not very convenient to jump with the original pattern.
So, does he have a convenient way to accomplish this task?
Thank!
+3
source to share
3 answers