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

otherModeNotRecursive mappings ignores the not-recursive part in visual block mode #1869

Closed
Recognition101 opened this issue Jun 23, 2017 · 1 comment

Comments

@Recognition101
Copy link

Recognition101 commented Jun 23, 2017

  • 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? Bug

Environment:

  • VSCode Version: 1.13.1
  • VsCodeVim Version: 0.8.7
  • OS: Mac OSX 10.12.5

I went back and tested each version, looks like this issue was introduced in VsCodeVim 0.8.0.

What happened:

VSCodeVim freezes, you cannot use any Vim features anymore. Also, CodeHelper and VSCode start taking 100% CPU and gaining more and more memory (2GB in a few minutes)

What did you expect to happen:

Text is deleted without yanking to the clipboard.

How to reproduce it:

  1. Set up this mapping in settings.json: { "before": ["d"], "after": ["\"", "_", "d"] }
  2. Press ctrlv to go into visual mode in a document with some text.
  3. Select some text (i.e. press h twice)
  4. Press dl in order to delete the text without yanking it.
@Chillee
Copy link
Member

Chillee commented Jun 23, 2017

This is a duplicate of this issue: #1758

I'm going to close the other issue in favor of this one (this one's more descriptive).

@Chillee Chillee changed the title "0dl in Visual Mode Crashes VSCodeVim otherMode ignores the not-recursive part in visual block mode Jun 25, 2017
@Chillee Chillee changed the title otherMode ignores the not-recursive part in visual block mode otherModeNotRecursive mappings ignores the not-recursive part in visual block mode Jun 25, 2017
jpoon added a commit that referenced this issue Dec 12, 2017
@jpoon jpoon mentioned this issue Dec 12, 2017
jpoon added a commit that referenced this issue Dec 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants