[BUG] /keybindings generates invalid config
Status Fixed / completed
Reported on v2.1.91
Maintainer reply None cached
Activity 4 comments · opened Apr 3, 2026 · closed Apr 5, 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?
- Run
/keybindings - Claude generates
keybindings.jsonwith defaults - Save the file _without changing anything_
- Immediately see " Found 1 keybinding error · /doctor for details"
- Run
/doctor - See
└ [Error] Unknown context "Scroll"
What Should Happen?
/keybindings should generate valid keybindings
Error Messages/Logs
Steps to Reproduce
- Run
/keybindings - Claude generates
keybindings.jsonwith defaults - Save the file _without changing anything_
- Immediately see " Found 1 keybinding error · /doctor for details"
- Run
/doctor - See
└ [Error] Unknown context "Scroll"
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.91 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
4 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
It is not a duplicate of #42450. The issue isn't that it's writing the file prematurely, but rather that the generated contents are wrong.
Realized #42450 does mention that the generated schema is incorrect
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.