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. -- Hans Fugal ; http://hans.fugal.net There's nothing remarkable about it. All one has to do is hit the right keys at the right time and the instrument plays itself. -- Johann Sebastian Bach
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. */
