Saturday, October 17, 2020

cb vs. cge; compare ce vs. cw

`cw` behaves like `ce`. As explained in motion.txt:

> Special case: "cw" and "cW" are treated like "ce" and "cE" if the
cursor is on a non-blank. This is because "cw" is interpreted as
change-word, and a word does not include the following white space.

Similarly, one might expect `cge` to be an alias for `cb`; but it isn't.
Typing `cge` will faithfully backwards up to and include the last
character of the preceding word.

Is this inconsistency a bug/oversight?

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/2a4f690a-8292-586b-be83-40ace7e60a65%40umanwizard.com.

No comments: