[BUG] claude code erases all previous shortcuts when writing vscode keybindings.
Resolved 💬 3 comments Opened May 9, 2025 by alarbada Closed May 9, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: <!-- output of
claude --version--> 0.2.9 - Operating System: Ubuntu 22.04
- Terminal: vscode terminal
Bug Description
Claude code erased all my keybindings I had in my keybindings.json file. I also use vscode vim, so the shortcut that it wrote didn't even work.
Steps to Reproduce
Execute the code part that writes keybindings. If it helps, my keybindings.json file had comments in it.
Expected Behavior
To not erase all the keybindings I had built for years.
Actual Behavior
Claude code nuked all my previous keybindings and wrote this:
[
{
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\\\r\n"
},
"when": "terminalFocus"
}
]
Additional Context
I lost hundreds of hours of customization because of this. This is very frustrating.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗