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

Entering debug mode user-defined vim key mapping configuration fails #9399

Open
awaken233 opened this issue Dec 15, 2024 · 1 comment
Open

Comments

@awaken233
Copy link

awaken233 commented Dec 15, 2024

Describe the bug
I defined the H, L switching tab, but once I entered the debugging mode, the user-defined configuration was invalid, and H and L became the default behavior of vim.

To Reproduce
Steps to reproduce the behavior:

  1. Do not enter the debugging mode, press H, L, and find the normal switching tab.
  2. Enter the debugging mode, press H, and find that it moves to the top of the screen.

Expected behavior
Press H to switch tab

Screenshots
image
image

    {
      "before": [ "H"],
      "commands": [ "workbench.action.previousEditor"]
    },
    {
      "before": [ "L"],
      "commands": [ "workbench.action.nextEditor"]
    },

Environment (please complete the following information):

  • Extension (VsCodeVim) version:v1.29.0
  • VSCode version: 1.93.1
  • OS:macos 13.7.1
@awaken233
Copy link
Author

The latest discovery is that when I modify the default profile, I add the following configuration

    {
      "before": [ "H"],
      "commands": [ "workbench.action.previousEditor"]
    },
    {
      "before": [ "L"],
      "commands": [ "workbench.action.nextEditor"]
    },

Even when debugging is running, you can press the H key to run it as I expected: switch tabs, but when I check the profile, I find that it is not the default profile. Can someone tell me what this is?

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