[OT] Text Editor vs IDE aka ctrl-s froze VI

Hans Fugal hans at fugal.net
Mon Oct 17 11:12:45 MDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20051017/34acac87/attachment.bin 


More information about the PLUG mailing list