> On 6. May 2020, at 21:05, 'Chris Willis' via vim_use > <[email protected]> wrote: > > > > > From: Neil Earnshaw > Sent: Wednesday, May 06, 2020 7:44 PM > To: [email protected] > Subject: Re: vimgolf E20 > > 's' is substitute and the '*' applies it to all matching lines in the file
So the same as :%s/foo/bar/g but saving one char? > > On Wed, May 6, 2020 at 7:38 PM Niels Kobschätzki <[email protected]> > wrote: >> >>>> On 6. May 2020, at 20:13, Neil Earnshaw <[email protected]> wrote: >>>> >>> >>> This command works fine in vim on my chromebook: >>> >>> :*s/)/);/ >>> >> >> What is *s? >> >> Cheers, >> >> Niels >> -- >> -- >> really? I’ve always used :%s Niels -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/DC0E59F5-25F0-4A0C-B962-9E86C891EF34%40kobschaetzki.net.
