[Feature Request] Support Option+Delete (⌥+Delete) for deleting word left on macOS

Resolved 💬 4 comments Opened Jan 26, 2026 by idvd20 Closed Jan 30, 2026

Problem Statement

macOS users expect Option+Delete to delete the word to the left of the cursor - this is a system-wide standard in all native text inputs, terminals, and most CLI applications. When this shortcut doesn't work in Claude Code, it breaks muscle memory and slows down text editing during prompts.

Currently, Claude Code supports Ctrl-based shortcuts (Ctrl+U, Ctrl+K) and Alt-based navigation (Alt+B, Alt+F with terminal configuration), but lacks support for this common macOS-native shortcut.

Proposed Solution

Add support for Option+Delete to delete the word to the left of the cursor in Claude Code's input handling on macOS, matching native macOS behavior without requiring additional terminal configuration.

Alternatives Considered

  • Ctrl+U: Deletes entire line (too destructive)
  • Configure Option as Meta + Alt+B + Ctrl+K: Requires terminal setup and multiple keystrokes
  • Vim mode: Requires mode switching, different mental model

None of these match the native single-keystroke experience macOS users expect.

Environment

  • macOS
  • Claude Code CLI

View original on GitHub ↗

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