claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Vim-mode: no undo

Open chad-fossa opened this issue 9 months ago • 1 comments

Environment

  • Platform (select one):
    • [X] Anthropic API
  • Claude CLI version: 0.2.79 (Claude Code)
  • Operating System: macos 14.6.1
  • Terminal: iTerm2

Bug Description

When deleting a line, I cannot hit "u" to undo. Separate from the "yank" issue.

Steps to Reproduce

type a line, or several hit dd to delete in vim mode hit u to undo

Expected Behavior

The delete is undone

Actual Behavior

Nothing

Additional Context

chad-fossa avatar Apr 24 '25 14:04 chad-fossa

Are we saying this ticket is a duplicate of https://github.com/anthropics/claude-code/issues/732 ? or is it a duplicate of another ticket?

chad-fossa avatar Apr 29 '25 16:04 chad-fossa

https://github.com/anthropics/claude-code/issues/2337 says this was solved, but does not link to any docs.

Update: I found this in the changelogs:

v1.0.33
Improved logging functionality with session ID support
Added undo functionality (Ctrl+Z and vim 'u' command)
Improvements to plan mode

But pressing ctrl-z still puts the current process into background on my terminal (kitty, macOS). Is this a terminal config issue?

NightMachinery avatar Aug 15 '25 21:08 NightMachinery

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 04 '25 10:12 github-actions[bot]