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

IDE crashes after pasting text objects in visual mode #3820

Open
Janis90 opened this issue Jun 7, 2019 · 0 comments
Open

IDE crashes after pasting text objects in visual mode #3820

Janis90 opened this issue Jun 7, 2019 · 0 comments

Comments

@Janis90
Copy link

Janis90 commented Jun 7, 2019

Describe the bug
Visual Studio crashes every time I paste text objects over a selected text.
This error does not occur with lines (e.g. yy ->Vp).
Using cmd+v instead of p (e.g. viw + cmd+v) also works fine.

To Reproduce
Steps to reproduce the behavior:

  1. Remap:
   {
      "before": [
        "p",
      ],
      "after": [
        "p",
        "g",
        "v",
        "y"
      ]
    },
  1. Yank a text object: yiw / yw / yaw
  2. Past it over a selected text: viwp /Vp, v + hjkl + p

Expected behavior
Should replace the selected word with the yanked one.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.8.1
  • VSCode version: 1.35.0 (1.35.0)
  • OS: macOS: 10.12.6

EDIT: The conflict seems to be with pgvy (which I remapped to p). Disabling it in the User Settings seems to temporarily fix the issue.

@Janis90 Janis90 changed the title IDE crashes after pasting text object in visual mode IDE crashes after pasting text objects in visual mode Jun 25, 2019
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

1 participant