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

  1. Open Claude Code on macOS
  2. Try to use Ctrl+B to run a command in background
  3. Observe that cursor moves backward instead of triggering background execution

Suggested Solutions

  1. Add configurable keybindings: Allow users to customize the background command hotkey through settings.json
  2. Use different default on macOS: Detect macOS and use an alternative default keybinding (e.g., Cmd+B, Ctrl+Shift+B)
  3. Multiple keybinding options: Support multiple keybindings for the same action

References

Workaround

Currently, there is no workaround as keybindings are hardcoded and not configurable.

View original on GitHub ↗

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