Skip to content

Undocumented keyboard shortcuts conflict with custom shortcuts #24

Open
@dannypernik

Description

@dannypernik

I'm having an issue with using cmd + alt + [ and cmd + alt + ] as custom keyboard shortcuts when the cursor chat is in focus, and I can't see why. More bewildering is that the exact same thing happens when I switched my shortcuts to cmd + shift + [ and cmd + shift + ]. See the screencast below – the correct behavior is displayed initially when another sidebar is opened. Then you can see the behavior when cursor chat is visible. You'll notice that I've rearranged cursor chat to appear on the left. You can see the keyboard shortcuts I'm pressing in the bottom left corner of the video.

My custom keyboard shortcuts (for resizing the editor pane) are as follows:

{
    "command": "runCommands",
    "key": "alt+cmd+[",
    "args": {
      "commands": ["workbench.action.focusSideBar", "workbench.action.decreaseViewSize"]
    },
    "when": "sideBarVisible"
  },
  {
    "command": "runCommands",
    "key": "alt+cmd+]",
    "args": {
      "commands": ["workbench.action.focusSideBar", "workbench.action.increaseViewSize"]
    },
    "when": "sideBarVisible"
  },
Screen.Recording.2024-12-10.at.2.02.41.PM.mov

Thanks for any help you can provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions