Claude Code v2.1.283 ·
Vim mode keeps the cursor on the text and records inserted newlines
In vim NORMAL mode, a restored draft puts the cursor on its last character, and newlines you insert are recorded with your typing
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
Terminal UIArea: what it touches
Bug FixesKind: in v2.1.283,
Bug FixesSection of the release
What
Two small fixes for people who use vim-style editing in the prompt box:
- Restored draft: in NORMAL mode, the cursor now lands on the last character of the text instead of one position past the end.
- Inserted newlines: a newline added with the
chat:newline action is now recorded along with the rest of what you typed in insert mode.
Why
These are small correctness fixes for vim-mode users, so the cursor and the recorded typing behave the way vim would.
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 doubtThat the recorded newline is meant for vim's repeat command is inferred from a name, not confirmed.
See this entry in the whole of v2.1.283 →