Shift+Enter Shortcut Key Solved in Claude Code + Antigravity
Resolving the Shift+Enter keyboard shortcut issue when using Claude Code with Antigravity
Shift+Enter Shortcut Key Solved in Claude Code + Antigravity
If you use Claude Code inside Antigravity, you may have noticed that Shift+Enter doesn’t work in the terminal. This is because Claude Code’s /terminal-setup command only updates VSCode’s keybindings.json, which Antigravity does not read. Here’s how to fix it.
The Problem
Running /terminal-setup in Claude Code configures the Shift+Enter keybinding for VSCode. However, Antigravity maintains its own separate keyboard shortcuts configuration, so the binding never takes effect.
The Fix
1. Run /terminal-setup in Claude Code
This generates the required keybinding in VSCode’s keybindings.json. On macOS, the entry looks like this:
1
2
3
4
5
6
7
8
9
10
[
{
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u001b\r"
},
"when": "terminalFocus"
}
]
2. Add the keybinding to Antigravity
- Open the Command Palette with
Cmd + Shift + P - Search for Keyboard Shortcuts
- Click the file icon in the top-right corner to open the JSON config
- Paste the same keybinding configuration into the file and save
Shift+Enter should now work as expected in Claude Code within Antigravity.
All rights reserved.
