Tuesday, June 18, 2013

Re: g[lobal] with s[ubstitute]

On Tuesday, June 18, 2013 8:44:33 AM UTC-5, Tim Chase wrote:
> I think I'd prefer it as an extra response to the confirmation:
>
>
>
> :g/foo/s/bar/baz/gc
>
> ...
>
> replace with baz (y/n/a/A/q/Q/l/^E/^Y)?
>
>
>
> where "Q" would quit globally like your patch does while "q" would
>
> just quit for this invocation of :s and "A" would answer "All"
>
> globally, while the "a" would do all of the replacements for the
>
> current invocation.

That would be much nicer (also for the current options) if the displayed text gave some hint what each choice will actually do.

I agree with not getting rid of the old behavior.

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment