'vi' is driving me crazy
A. Khattri
ajai
Tue Dec 28 01:36:54 PST 2004
On Mon, 27 Dec 2004, Matthew Carpenter wrote:
> :%s/^stupid.*endofline/newtext/g
>
> :%s/^KEY_[A-H].*//gi
>
> :%s/^EDITOR=.*/EDITOR="vi"/
>
> Granted, I only wish I could be prompted before replacing the text.
You can - you put a y (for "yes or no") on the end.
--
troglodyte mode n.
[Rice University] Programming with the
lights turned off, sunglasses on, and the terminal inverted (black
on white) because you've been up for so many days straight that
your eyes hurt (see raster burn). Loud music blaring from a
stereo stacked in the corner is optional but recommended. See
larval stage, hack mode.
More information about the Linux-users
mailing list