[BUG] `dG` in Vim mode does not delete all lines

Resolved 💬 2 comments Opened Aug 24, 2025 by jiangyinzuo Closed Dec 25, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.89
  • Operating System: WSL Ubuntu 25.04
  • Terminal: Wezterm

Bug Description

dG in Vim mode should delete all lines, but actually, the last line is not deleted.

Steps to Reproduce

  1. /vim
  2. input some text in insert mode
  3. dG in normal mode

Expected Behavior

All lines should be deleted.

Actual Behavior

The last line is kept.

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

View original on GitHub ↗

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