Skip to content

在 Claude Code 内无法使用 Option + 左右方向键按单词维度快速删除或跳过 #2120

@karasHou

Description

@karasHou

cmux version

0.62.2

macOS version

macOS 15.2 (Sequoia)

Mac chip

Apple Silicon (M1/M2/M3/M4)

Installation method

Direct download (DMG)

Can you reproduce this on cmux NIGHTLY?

Yes, it still reproduces on NIGHTLY

Bug description

在 Claude Code 的输入框中,无法使用 Option + 左/右方向键按单词维度进行光标跳转。这是一个非常常用的文本编辑快捷键,在 macOS 的其他应用程序中都能正常工作,但在 Claude Code 的输入框中不生效。这严重影响了文本编辑效率,特别是在需要编辑长文本或修改命令时。

Expected behavior

期望 Option + 左/右方向键能够按照单词维度移动光标,就像在 macOS 的其他文本编辑器中一样。同时,Option + Delete 也应该能够按单词删除文本。

Steps to reproduce

  1. 打开 Claude Code
  2. 在输入框中输入一段较长的文本
  3. 尝试使用 Option + 左/右方向键按单词移动光标
  4. 发现光标不会按单词跳转,只能逐字符移动

Shell and environment

No response

Relevant logs or crash reports


Screenshots or screen recordings

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions