1

Re: Ranges not working for s/rep/lace/ in viemu VS2010

Hi,

It seems like the ranges do not work like in vim.
i'm trying to do a replace from the current line to the next 6 lines like so:
:.,.6s/Old/New/g

It works without the range on 1 line but does not work at all if i include the range.

cheers,
Aaron.

2

Re: Ranges not working for s/rep/lace/ in viemu VS2010

Hi Aaron, ranges do work in ViEmu's ex, but not all options. '.' works, but '.6' doesn't. You can use :1,5 or :1,$, or :'a,'b or :%, and other options will be added in the future.

Regards,

  -- Jon

3

Re: Ranges not working for s/rep/lace/ in viemu VS2010

To accomplish this in ViEmu I use:

:.,.+6 s/.../.../

-Tom

4

Re: Ranges not working for s/rep/lace/ in viemu VS2010

Thanks Tom!