[BUG] Keyboard shortcuts Option+Cmd+K and Option+K not working in Claude Code VSCode extension since v2.1.6

Status Fixed / completed
Reported on v2.1.6
Maintainer reply None cached
Activity 9 comments · opened Jan 14, 2026 · closed Jan 16, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Keyboard shortcuts Option+Cmd+K and Option+K for inserting @ mentions do not work in the VSCode extension since version 2.1.6.

When pressing these shortcuts with editor focus, nothing happens - the @ mention insertion doesn't trigger.

The keybindings appear in VSCode but the commands don't execute.

What Should Happen?

Pressing Option+Cmd+K or Option+K while the editor has focus should insert an @ mention at the cursor position, allowing quick file/symbol references in the Claude Code chat.

Error Messages/Logs

No error messages appear. The shortcuts simply don't trigger any action.

Keybindings configuration shows:
{
  "key": "alt+cmd+k",
  "command": "claude-vscode.insertAtMention",
  "when": "editorTextFocus"
}
{
  "key": "alt+k",
  "command": "claude-code.insertAtMentioned",
  "when": "editorTextFocus"
}

Note: Command names are inconsistent (claude-vscode.insertAtMention vs claude-code.insertAtMentioned) which may indicate a refactoring issue.

Steps to Reproduce

  1. Install Claude Code VSCode extension v2.1.6 or later
  2. Open any file in the editor
  3. Ensure the editor has focus (editorTextFocus is true)
  4. Press Alt+Cmd+K (or Alt+K)
  5. Observe that nothing happens - no @ mention is inserted

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.5 (or earlier - shortcuts worked before 2.1.6)

Claude Code Version

2.1.6

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

The issue seems to be related to command name changes during refactoring. The keybindings reference two different command prefixes:

claude-vscode.insertAtMention
claude-code.insertAtMentioned
This naming inconsistency suggests the commands may have been renamed but the keybinding definitions weren't updated to match the actual registered command names.

View original on GitHub ↗

9 Comments

JR-Bae · 7 months ago

This issue still persists in v2.1.17.

imtrent · 7 months ago

Experiencing the same issue

mgwc · 7 months ago

Experiencing the same issue as well as an issue with cmd + esc to focus input.

devhyunjae · 7 months ago

i am glad this is not only my problem

amMicheals · 7 months ago

@claude can you guys patch this?

danielstals · 7 months ago

Also experiencing this issue.

hugoblanc · 7 months ago

same here

uaoa · 7 months ago

This is fixed in v2.1.9. Both Alt+Cmd+K and Alt+K shortcuts are working as expected now.

github-actions[bot] · 7 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.