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

Undocumented keyboard shortcuts conflict with custom shortcuts #24

Open
dannypernik opened this issue Dec 10, 2024 · 0 comments
Open

Undocumented keyboard shortcuts conflict with custom shortcuts #24

dannypernik opened this issue Dec 10, 2024 · 0 comments

Comments

@dannypernik
Copy link

dannypernik commented Dec 10, 2024

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.

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