[FEATURE] Allow readline / emacs style line editing consistently

Open 💬 0 comments Opened Jul 3, 2026 by wyardley

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

It would be great if common emacs bindings (^B, esc-b, etc.) would work in Claude Code. When editing prompts, it's often difficult to navigate around. Some things (like ^A) seem to work fine, but many do not.

Creating this to replace #29931, which got auto-closed, as well as #63823, which you also closed without the opportunity to keep open.

Proposed Solution

I'd like to be able to use esc-b, esc-f, etc. to navigate forward and backwards when writing / editing prompts.

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗