-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
c deletes first element of line #1302
Comments
Is this actually a bug? Nvim seems to do the exact same behavior as what's reported in the bug. |
@Chillee I'm so confused. I was sure this was a legitimate bug, but now I can't seem to reproduce the behavior that OP says is correct! |
@johnfn If you checkout before the commit it works? oO |
Oh no I mean, I can't reproduce the behavior in Vim. |
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 23 2017 19:48:19) Here i can do this Before the patch the result would have been: What do you get? |
For me, on both VIM version 8.0.427 and NVIM 0.1.7 on arch, I get ["ab|bcdefg"]. |
VIM 8.0.586 on Win10x64 I get ["ab|bcdefg"] as well. @xlaech can you try with vim -u to not load any of your settings |
I will try on thursday. |
Please thumbs-up 👍 this issue if it personally affects you! You can do this by clicking on the emoji-face on the top right of this post. Issues with more thumbs-up will be prioritized.
What did you do?
Use change (c) together with a selection until the first symbol of a line
e.g.:
["test|haha", "jojo"]
press "vj0c"
This also effects #1300
What did you expect to happen?
the selection without the first j of the second line get deleted and insert mode is entered
What happened instead?
The j also got deleted
Technical details:
The text was updated successfully, but these errors were encountered: