Skip to content
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

cc doesn't clear whitespace on a blank line #1285

Closed
rhys-vdw opened this issue Feb 9, 2017 · 3 comments
Closed

cc doesn't clear whitespace on a blank line #1285

rhys-vdw opened this issue Feb 9, 2017 · 3 comments

Comments

@rhys-vdw
Copy link
Contributor

rhys-vdw commented Feb 9, 2017

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?

Press cchello<esc> and on this line (using $ to show line ending)

|        $

(the same problem does not seem to exist for 0C)

What did you expect to happen?

hell|o$

What happened instead?

hell|o        $

Technical details:

  • VSCode Version: 1.9.0
  • VsCodeVim Version: 0.5.2
  • OS: osx sierra
@rhys-vdw
Copy link
Contributor Author

rhys-vdw commented Feb 9, 2017

Might be worth looking at #727 at the same time.

@johnfn
Copy link
Member

johnfn commented Feb 9, 2017

This must be because we try to preserve indentation. Thanks for the bug report!

@johnfn johnfn closed this as completed in f2b15f4 Mar 2, 2017
@rhys-vdw
Copy link
Contributor Author

rhys-vdw commented Mar 2, 2017

Thanks @johnfn!

dqsully added a commit to dqsully/Vim that referenced this issue Jun 13, 2018
Add a test for VSCodeVim#2497
Change test for VSCodeVim#1285 when autoindent is enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants