chore(keybindings): update Claude Code keybindings and add extension reference

- Renamed section for Claude Code in keybindings.json.
- Added new keybindings for disabling the native console and focusing/blurring Claude Code.
- Included a reference to the Claude Code extension in the comments.
This commit is contained in:
2026-01-18 16:59:30 +00:00
parent dd3ecc8be3
commit 30fc1f3cad

View File

@@ -39,10 +39,13 @@
},
//
// ===========================================================================
// MARK: Claude Code (Terminal)
// MARK: Claude Code
// ===========================================================================
// Extension:
// - https://marketplace.visualstudio.com/items?itemName=anthropic.claude-code
//
{
//
{ // Enable new lines in terminal.
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"args": {
@@ -50,6 +53,21 @@
},
"when": "terminalFocus"
},
{ // Disable default open native console keybinding.
"key": "shift+cmd+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{ // Blur Claude Code.
"key": "shift+cmd+c",
"command": "claude-vscode.blur",
"when": "!config.claudeCode.useTerminal && !editorTextFocus"
},
{ // Focus Claude Code.
"key": "shift+cmd+c",
"command": "claude-vscode.focus",
"when": "editorTextFocus && !config.claudeCode.useTerminal"
},
//
// ===========================================================================
// MARK: Window