claude-code - 💡(How to fix) Fix [Bug] Control+C does not interrupt vim mode editor [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52728Fetched 2026-04-24 10:41:14
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/david/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T06:26:27.962Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/david/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T06:26:27.962Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description

Control+C does not interrupt while in /vim mode, claude keeps doing things. It's not intuitive that vim mode is the reason for that. (Same as #38328, which was closed)

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.119
  • Feedback ID: 9f7a3c53-1786-4eb9-8e68-b6f1ba362ed5

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/david/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T06:26:27.962Z"}]

extent analysis

TL;DR

The issue may be related to the vim mode in claude, which is not interrupting when Control+C is pressed, and a potential workaround could be to exit vim mode before attempting to interrupt.

Guidance

  • Investigate the relationship between vim mode and interrupt handling in claude to understand why Control+C is not working as expected.
  • Check if there are any configuration options or settings in claude that can be adjusted to enable interrupt handling while in vim mode.
  • Consider filing a new issue or reopening the related issue #38328 to further discuss and resolve the problem.
  • Review the error message provided to see if it offers any clues about the lock acquisition failure and its potential impact on interrupt handling.

Notes

The provided error message seems unrelated to the interrupt handling issue, but it may indicate a broader problem with claude's locking mechanism.

Recommendation

Apply workaround: Given the lack of information about a fixed version, the best course of action is to apply a workaround, such as exiting vim mode before attempting to interrupt, until a more permanent solution is found.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Control+C does not interrupt vim mode editor [1 comments, 2 participants]