/doctor flags cmd+c keybinding warning on a built-in default binding

Resolved 💬 3 comments Opened May 16, 2026 by marcus-hgic Closed May 20, 2026

Description

On macOS, /doctor reports a keybinding warning:

Keybinding (~/.claude/keybindings.json): "cmd+c" may not work: macOS system copy

However, cmd+cselection:copy (Scroll context) is a default Claude Code binding — the selection:copy action ships with both ctrl+shift+c and cmd+c as its default keys. So /doctor is warning about Claude Code's own default configuration, which is a false positive.

This is especially noticeable when ~/.claude/keybindings.json mirrors the default binding set (e.g. an exported/generated config): /doctor flags a key the user never customized.

Expected behavior

/doctor should not warn about keys that are part of the default keybinding set, since the user did not introduce the conflict and the macOS system-copy fallback makes cmd+c harmless anyway.

Suggested fix

  • Suppress the macOS-reserved-key warning for keys that match the default keybinding set, or
  • Downgrade/remove the warning for cmd+cselection:copy specifically, since system copy is a graceful fallback.

Environment

View original on GitHub ↗

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