I am having the following text in vim:
Hello, \/Good\/Bye.
Now I want to change it to:
Hello, -Good-Bye.
So I use: Visual Select, Yank the Line. then
%s/<Ctrl+R>+"/-/gc
When I push CTRL+R+"
The line clones into the search, but It \/
will not work. I need to change it to \\/
. Is there a quick function or keystroke to automatically escape the chars? Please let me know. Thank you!