Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I have Cmd+R keymapped to “Go to symbol in editor…”, with no When condition attached:
{
"key": "cmd+r",
"command": "workbench.action.gotoSymbol"
}
But when I run this when the message input in the Agents Pane is focused, the command is not run. Instead a “New Agent” fresh chat is opened, as if I pressed Cmd+N instead.
(Cmd+N is bound to “New Chat Tab”)
{
"key": "cmd+n",
"command": "composer.createNewComposerTab",
"when": "agentsPaneFocused && !editorTextFocus && !explorerViewletFocus && !filesExplorerFocus || composerFocused && !editorTextFocus && !explorerViewletFocus && !filesExplorerFocus || !editorTextFocus && !explorerViewletFocus && !filesExplorerFocus && activeEditor == 'workbench.editor.composer' || !editorTextFocus && !explorerViewletFocus && !filesExplorerFocus && focusedView =~ /^workbench.panel.aichat.view/"
}
If I do this after running Developer: Toggle Keyboard Shortcuts Troubleshooting, I can see workbench.action.goToSymbol was indeed matched, but some reason wasn’t run, and there’s no indication of any other command being run instead:
2026-05-26 10:20:23.737 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2026-05-26 10:20:23.738 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched
2026-05-26 10:20:23.738 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2026-05-26 10:20:23.738 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched
2026-05-26 10:20:23.738 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2026-05-26 10:20:23.739 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched
2026-05-26 10:20:23.739 [info] [Window] [KeybindingService]: / Received keydown event - modifiers: [meta], code: MetaLeft, keyCode: 91, key: Meta
2026-05-26 10:20:23.740 [info] [Window] [KeybindingService]: | Converted keydown event - modifiers: [meta], code: MetaLeft, keyCode: 57 ('Meta')
2026-05-26 10:20:23.741 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2026-05-26 10:20:23.865 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2026-05-26 10:20:23.865 [info] [Window] [KeybindingService]: | Resolving meta+[KeyR]
2026-05-26 10:20:23.865 [info] [Window] [KeybindingService]: \ From 7 keybinding entries, matched workbench.action.gotoSymbol, when: no when condition, source: user extension ms-vscode.atom-keybindings.
2026-05-26 10:20:23.865 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2026-05-26 10:20:23.865 [info] [Window] [KeybindingService]: | Resolving meta+[KeyR]
2026-05-26 10:20:23.865 [info] [Window] [KeybindingService]: \ From 7 keybinding entries, matched workbench.action.gotoSymbol, when: no when condition, source: user extension ms-vscode.atom-keybindings.
2026-05-26 10:20:23.865 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2026-05-26 10:20:23.977 [info] [Window] [KeybindingService]: + Storing single modifier for possible chord meta.
2026-05-26 10:20:24.278 [info] [Window] [KeybindingService]: + Clearing single modifier due to 300ms elapsed.
so this is pretty confusing/unexpected and opaque behavior.
Steps to Reproduce
- Have both an editor and the Agents Pane (right sidebar) open
- Have
Cmd+Rbound toworkbench.action.goToSymbol - Run
Developer: Toggle Keyboard Shortcuts Troubleshooting(optionally clear the existing logs there so it’s easy to see the new ones) - Focus the user message input box in the Agents Pane (in any chat)
- Hit
Cmd+R
Expected Behavior
workbench.action.goToSymbol is run, not some other command for no visible reason.
If it’s intentional that some different command is being run instead, it should at least be knowable what command that is (both in the Keyboard Shortcuts viewer, and in the Developer: Toggle Keyboard Shortcuts Troubleshooting logs), and the user should be able to adjust the keybinding to their preferences.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 3.5.33
VSCode Version: 1.105.1
Commit: aac81804b986d739acab348ed96b8bea6e83cc50
Date: 2026-05-22T06:47:48.039Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 21.6.0
Does this stop you from using Cursor
No - Cursor works, but with this issue
