Sunday, January 8, 2017

Re: Inconsistent behavior when changing inside of a text object.

On Saturday, 07 January, 2017 at 16:02:45 GMT, J.F. wrote:
>Consider the line below:
>
> I am [so darned] "cool"...
>
>Positioning the cursor on 'I' and typing the mapping 'ci"' will delete "cool" and put me inside the quotes in Insert mode. However, typing "ci[" when positioned on the 'I' won't perform similarly.
>
>Is there a reason for this inconsistency?

I don't know the reason, but https://github.com/wellle/targets.vim will do it.

--
--
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/d/optout.

No comments: