[DOCS] Interactive mode reference omits Cmd+Left/Cmd+Right line navigation

Open 💬 3 comments Opened Apr 20, 2026 by coygeek

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/interactive-mode

Section/Topic

Keyboard shortcuts → Text editing (macOS line-start/end navigation shortcuts)

Current Documentation

The page describes itself as:

Complete reference for keyboard shortcuts, input modes, and interactive features in Claude Code sessions.

But the current Text editing table only documents deletion, paste, and word navigation shortcuts:

| Ctrl+K | Delete to end of line | Stores deleted text for pasting | | Ctrl+U | Delete from cursor to line start | Stores deleted text for pasting. Repeat to clear across lines in multiline input | | Ctrl+Y | Paste deleted text | Paste text deleted with Ctrl+K or Ctrl+U | | Alt+Y (after Ctrl+Y) | Cycle paste history | After pasting, cycle through previously deleted text. Requires Option as Meta on macOS | | Alt+B | Move cursor back one word | Word navigation. Requires Option as Meta on macOS | | Alt+F | Move cursor forward one word | Word navigation. Requires Option as Meta on macOS |

The terminal-specific setup page also documents other terminal-dependent shortcut behavior, for example:

Shift+Enter: Works out of the box in iTerm2, WezTerm, Ghostty, and Kitty Run /terminal-setup within Claude Code to automatically configure Shift+Enter for VS Code, Alacritty, Zed, and Warp.

What's Wrong or Missing?

Claude Code v2.1.116 fixed Cmd+Left / Cmd+Right so they jump to the start/end of the line in terminals that use the Kitty keyboard protocol, specifically including Warp fullscreen, kitty, Ghostty, and WezTerm.

That user-facing shortcut behavior is not documented in the interactive shortcut reference at all. The docs currently cover related text-editing shortcuts and already call out terminal-specific differences for other keys, but they do not tell macOS users that line-start/end navigation via Cmd+Left and Cmd+Right is supported, or which terminal/protocol combinations matter.

As written, the “complete reference” is incomplete for prompt-editing navigation.

Suggested Improvement

Add Cmd+Left and Cmd+Right to the Text editing shortcut table in interactive-mode with descriptions such as:

  • Cmd+Left — Move cursor to start of line
  • Cmd+Right — Move cursor to end of line

Also add a short macOS/terminal note explaining the intended support scope after v2.1.116, for example that these shortcuts work in Kitty-keyboard-protocol terminals such as kitty, Ghostty, WezTerm, and Warp fullscreen, or otherwise link to terminal-config if terminal-specific caveats belong there.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

| Page | Context |
|------|---------|
| https://code.claude.com/docs/en/interactive-mode | Primary keyboard shortcut reference for prompt editing |
| https://code.claude.com/docs/en/terminal-config | Terminal-specific shortcut/setup page that already documents terminal differences for input shortcuts |

Total scope: 2 pages affected

Source: Changelog v2.1.116

Changelog entry: Fixed Cmd+Left/Right not jumping to line start/end in terminals that use the Kitty keyboard protocol (Warp fullscreen, kitty, Ghostty, WezTerm)

View original on GitHub ↗

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