1

Topic: :substitute problem

VS2010 Ult.
ViEmu 2.5.14

This command
    :%s/This/That/c

replaced all occurrences w/o prompting ( as though 'g' had been used).
Is this not working like Vim does, or am I misunderstanding something?

(I also tried
    :%s/This/That/gc
with the same result.)

Last edited by Number8 (2011-05-28 15:15:23)

2

Re: :substitute problem

Hi Number8

You are right, ViEmu has never supported the 'c' flag yet for :s.
The correct use is ":[range]s[ubstitute]/regex/replacement/[g]"
We plan to provide it in a future release.

Thanks