On Thu, Feb 06, 2014 at 10:38:51PM +0100, Antonio Giovanni Colombo wrote:
> On Thu, Feb 6, 2014 at 10:04 PM, tooth pik <[email protected]> wrote: > > On Thu, Feb 06, 2014 at 02:42:30PM +0000, Tomer Chachamu wrote: > > > Incorrect: > > > > > An example of how to search for matches with a pattern and change the > > match > > > with another word: > > > > /foo<CR> find "foo" > > > c//e change until end of match > > > bar<Esc> type replacement > > > //<CR> go to start of next match > > > c//e change until end of match > > > beep<Esc> type another replacement > > > etc. > > > > > Correct: > > > > > An example of how to search for matches with a pattern and change the > > match > > > with another word: > > > > /foo<CR> find "foo" > > > c//e<CR> change until end of match > > > bar<Esc> type replacement > > > //<CR> go to start of next match > > > c//e<CR> change until end of match > > > beep<Esc> type another replacement > > > etc. > > > > if there's a difference between the two I don't see it > > > > please help those of us with aging eyes (not to mention brains) to see > > what you see > > > ...a few <CR>s are missing in the "incorrect" part. > BEWARE, I just used eyes, not my brain, so I can't tell if the <CR>s are > needed or not. of course -- I see them now, after the 'c//e's, and I do believe Tomer's right, you do have to hit Enter after c//e -- _|_ _ __|_|_ ._ o| |_(_)(_)|_| ||_)||< | -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
