I have a file that contains the string usrbin
. I want to search for usrbin
and replace it with /usr/bin/
.
I tried :%s/usrbin/usr/bin/g
, but it's showing error E488: Trailing characters
.
How do I include a forward slash in a search and replace?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…