[BUG] /keybindings generates invalid config

Resolved 💬 4 comments Opened Apr 3, 2026 by rcorre 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.json with 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.json with 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_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗