How does one limit the range of the
vim multiline substitution command?

i.e.
:%s/that/this/

will do a global substituion of this for that.

But say I want to limit the substitution to
say ten lines from the cursor. I tried
:10s/that/this/

but it does not work.

How does one do this?

BobLQ


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to