On Sat, Mar 29, 2008 at 1:52 PM, Bob La Quey <[EMAIL PROTECTED]> wrote: > 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/
if you are on say line 2 then: 2:11s/that/this/ should do it. s. -- Sergio (Serge) Rey Professor and Chair Department of Geography San Diego State University http://geography.sdsu.edu/People/Faculty/rey.html -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
