in vi, search and replace, how do you escape a \'/\' (forward slash) so that it is correct. Say in a path.
like: /Users/tom/documents/pdfs/
:%s//Users/to
Alternatively you can do :%s,foo/bar/baz,foo/bar/boz,g - I almost never use slashes because of the escaping confusion.
:%s,foo/bar/baz,foo/bar/boz,g