Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.282 ·

Vim mode: counted line commands like 3dd do nothing on the last line

In vim mode, a line command with a count above one, such as 3dd, now does nothing when the cursor is on the last line, as in Vim

You'll notice Bug Fixes
JSON All of v2.1.282
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Terminal UIArea: what it touches
Bug FixesKind: in v2.1.282,
Bug FixesSection of the release
What

Claude Code's input box has an optional vim mode, which lets you edit text with keyboard commands from the Vim editor. Commands such as dd (delete a line), cc (change a line) and yy (copy a line) can take a count, so 3dd deletes three lines.

When the count is above one and the cursor is on the last line, these commands now do nothing. Before, they always ran regardless of where the cursor was. Vim behaves the same way. The command also now takes the cursor's position into account.

Why

Pressing something like 3dd on the last line no longer deletes that line, which matches what Vim users expect.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether using the cursor position also changes where the cursor ends up after these commands is not established.

See this entry in the whole of v2.1.282 →

Feedback