Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
On Tue, 4 Jan 2000, Paul Saab wrote:
> Its easier to do
> ESC-x
> replace-string
> enter the string you want to replace
> enter the replacement string
Or ESC-X replace-regex
[snip]
> Both of these start from the current position of the cursor though.
> So it wont replace everything above the cursor.
Yes, and this is one of my prime gripes with these commands. :-(
For that matter, vi allows you quite fine control over replacements, in
terms of which lines to replace-on, if you need that. You can do a regexp
replace only on lines 7 through 19, for example.
> viola you are done
End of the string section? :-)
jking