Sunday, April 12, 2015

MacVim: "ce" and "cw" both seem to do the same thing: Delete the word starting from the cursor to the end of the word and enable Insert mode.

I'm using MacVim (Snapshot 70) and, in Normal mode, "ce" and "cw" both seem to do the same thing: Delete the word starting from the cursor to the end of the word and enable Insert mode.

However, the motion "e" moves the cursor to the end of the word; while the motion "w" moves the cursor to the first character of the next word.

Also, "de" and "dw" are both working properly:

"de" deletes the word starting from the cursor to the end of the word.
"dw" deletes the word starting from the cursor to the start of the next word.

Am I missing something here?

NOTE: In Normal mode, pressing an operator and then moving your finger on the *surface* of the Magic Mouse (don't move the mouse) will cancel the operator.

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