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

Multiline delete doesn't allow for "d[# of lines]d" syntax #1764

Closed
XenosInAHat opened this issue May 26, 2017 · 1 comment
Closed

Multiline delete doesn't allow for "d[# of lines]d" syntax #1764

XenosInAHat opened this issue May 26, 2017 · 1 comment

Comments

@XenosInAHat
Copy link

  • Click thumbs-up 👍 on this issue if you want it!
  • Click confused 😕 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Environment:

  • VSCode Version: 1.12.2
  • VsCodeVim Version: 0.8.3
  • OS: Windows 7

What happened:
I tried to do a multi-line delete in Normal mode by typing "d5d". The delete didn't occur. However, "5dd" works, so I'll just use that until a fix is implemented.

This seems to have been introduced in a 0.8.X version because it worked correctly until I updated VsCodeVim from (I think) 0.7.1.

What did you expect to happen: I expected 5 lines to be deleted.

How to reproduce it:

  1. Open a file with several lines of code.
  2. Type "d5d" (or any other number, really) while in Normal mode. Note that the lines do not get deleted.
@Chillee
Copy link
Member

Chillee commented May 26, 2017

Somebody reported this in our slack. It has to do with our refactor of our repeated actions.

I normally use 5dd (and that's what our tests are based on), so I missed it.

Chillee added a commit to Chillee/Vim that referenced this issue May 27, 2017
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