2 ms·
my muscle memory says ":%s/foo/bar/g" but honestly, I wish it didn't.
by dekhn 3y ago
my muscle memory says ":%s/foo/bar/g" but honestly, I wish it didn't.
- sam_lowry_ 3y agoYoy can replace slash with any character as long as the parser can figure it out.
- dekhn 3y agoriiiiight in fact I usually use something else because I'm editing a path with / IIRC this dates back to at least https://en.wikipedia.org/wiki/Ed_(text_editor) https://en.wikipedia.org/wiki/Ed_(text_editor)