[BUG] Shift+Enter keybinding doesn't work in VS Code
Resolved 💬 6 comments Opened May 2, 2025 by feosuna1 Closed Jan 8, 2026
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [x] Other: Claude code
- Claude CLI version: 0.2.99
- Operating System: macOS 15.4.1
- Terminal: VS Code 1.99.3
Bug Description
/terminal-setup installs a new keybinding to VS Code but it doesn't seem to work.
Steps to Reproduce
/terminal-setup- Start asking a question
- Press Shift+Enter on the keyboard
Expected Behavior
It should insert a new line.
Actual Behavior
Submits the text box.
Additional Context
The following keybinding seems to do the trick:
{
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\^[\n" // ESC (0x1b) followed by LF
},
"when": "terminalFocus"
}This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗