Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.235 Home All releases olderv2.1.234 v2.1.236newer
Claude Code v2.1.235

Vim cursor position survives re-renders and editor round trips

You'll notice
Useful4 Signal1
Input

Your vim cursor position no longer jumps when the prompt input redraws or returns from an editor.

What

Vim mode and the cursor offset now live in a shared store, so the prompt input restores where your cursor was instead of jumping when the input is re-created. Vim mode starts in INSERT and the cursor offset starts unset.

Details
  • The input seeds its cursor from the saved offset, saves it again on unmount, and re-clamps it in NORMAL mode using NFC-normalized text so multi-byte characters do not shift it.
  • Turning vim mode off forces the mode back to INSERT.
  • Returning from an external editor also re-clamps the cursor for NORMAL mode.
Evidence

savedCursorOffset

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.235 →