Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

ce includes next word (excluding its last character) #39

Closed
nvanmeurs opened this issue Jun 14, 2016 · 2 comments
Closed

ce includes next word (excluding its last character) #39

nvanmeurs opened this issue Jun 14, 2016 · 2 comments
Labels

Comments

@nvanmeurs
Copy link

Example line:
This sentenze has a typo.

This can be reproduced using the following steps:

  1. Move your cursor to the word sentenze
  2. Type ce.

Actual result:
This ss a typo.

Expected result:
This s has a typo.

@74th 74th added the bug label Jun 14, 2016
@74th
Copy link
Owner

74th commented Jun 16, 2016

Thank you for your report.
VimStyle has a wrong ce function.
I test this action with vim -u NONE, but vim does not show your expected result.

This setenze has a typo.
     ^ ce[ESC]

vim -u NONE show:
This  has a type.
    ^

I have not used ce, it seems same as cw.

  • VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 9 2014 17:36:41)

@nvanmeurs
Copy link
Author

Yeah, in Vim it works as expected it replaces up to the end of the word.
I got the ce command from the vimtutorial as I started to learn Vim yesterday.
I'm very happy with your VSCode plugin. Will use cw for now, since that one does work properly?

@74th 74th closed this as completed Jul 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants