/keybindings template includes cmd+c binding that /doctor immediately flags as invalid on macOS

Resolved 💬 4 comments Opened May 9, 2026 by HoosfoosMcCave Closed Jun 7, 2026

Summary

The /keybindings slash command generates a fresh ~/.claude/keybindings.json from a built-in template. That template includes "cmd+c": "selection:copy" in the Scroll context. On macOS, cmd+c is a reserved system shortcut, so /doctor immediately flags it as a warning on a file the user never manually edited.

Steps to Reproduce

  1. Ensure ~/.claude/keybindings.json does not exist
  2. Run /keybindings in Claude Code — it creates the file from a template
  3. Run /doctor — it reports: "cmd+c" may not work: macOS system copy

Expected Behavior

The generated template should not include keybindings that are immediately flagged as invalid. Either omit cmd+c from the template or replace it with ctrl+shift+c (which is already present in the same template and works correctly).

Actual Behavior

A freshly generated keybindings file contains a binding (cmd+c) that /doctor flags as broken on macOS, requiring the user to manually fix a file they never intentionally configured.

Environment

  • Platform: macOS

View original on GitHub ↗

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