On Mon, Oct 17, 2005 at 11:12:45AM -0600, Hans Fugal wrote: > On Mon, 17 Oct 2005 at 11:07 -0600, Andrew McNabb wrote: > > > /yomama<enter>vllllllllcyo mama<esc>n.n.n. > > > > Wouldn't it be easier to do: > > :%s/yomama/yo mama/g > > > > or if you want to step: > > :s/yomama/yo mama/ > > and then "n&" for each subsequent replace? > > I didn't know about &, that's cool. Yes, the :s approach is probably > cleaner and better, but for whatever reason it's the other that my > fingers do when I'm not driving them.
I always end up using this version to choose which ones to replace: :s/yomama/yo mama/gc -- --------------------------------+----------------------------------- Byron Clark | http://www.byronandannie.net [EMAIL PROTECTED] | http://bits.byronandannie.net --------------------------------+----------------------------------- GnuPG Fingerprint: 0365 6979 6C3E BC0C 56C0 FB7F 12B3 75DD 042B EA68
signature.asc
Description: Digital signature
/* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
