Saturday, January 7, 2017

Inconsistent behavior when changing inside of a text object.

I assume this question is answered elsewhere, but I'm having trouble formulating a question to type into a search engine. I can only think of an example...

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'm currently using Vim 7.4.

--
--
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:

Post a Comment