:s/// allows any separator instead of '/' (like s@@@).

(Non-/ separator is convenient when regex or replacement contains many '/', ... then you can avoid backslasing '/' in
the regex or in replacement.) So far, so good.

My question is, is there variant of :/ that allows non-'/'
separator char ? (It's possible if there's some command name
before '/', like in perl, where m// is synonymous to //).


Not that I know of, but one might be able to hack it with
something like

        :let @/='/path/to/file/with/slashes'
        :/

which seems to do the trick for me...

-tim




Reply via email to