Ctrl+B Keybinding Conflict on macOS
Resolved 💬 10 comments Opened Aug 8, 2025 by fxrlv Closed Aug 16, 2025
Issue Description
The Ctrl+B hotkey for running background commands in Claude Code conflicts with the default macOS terminal keybinding for moving the cursor backward by one character.
Problem Details
- Claude Code Version: 1.0.71+ (feature introduced in 1.0.71)
- Platform: macOS
- Conflicting Keybinding: Ctrl+B is a standard Unix/macOS terminal keybinding for backward cursor movement
- Expected Feature: Run Bash commands in background while Claude continues working
Impact
macOS users cannot use the background command feature as the system intercepts Ctrl+B for cursor navigation, preventing Claude Code from receiving the keystroke.
Reproduction Steps
- Open Claude Code on macOS
- Try to use Ctrl+B to run a command in background
- Observe that cursor moves backward instead of triggering background execution
Suggested Solutions
- Add configurable keybindings: Allow users to customize the background command hotkey through settings.json
- Use different default on macOS: Detect macOS and use an alternative default keybinding (e.g., Cmd+B, Ctrl+Shift+B)
- Multiple keybinding options: Support multiple keybindings for the same action
References
- Apple Support: Mac keyboard shortcuts
- Claude Code v1.0.71 release notes mentioning the Ctrl+B feature
Workaround
Currently, there is no workaround as keybindings are hardcoded and not configurable.
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗