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
In vim mode, the prompt's editing keys behave like those of the Vim text editor. There, J joins lines together. With a count, 3J now joins three lines in total, as Vim does, and any count joins at least two lines. Previously the count meant that many extra lines, so 3J joined four.
After the join, the cursor now sits at the last place where two lines were joined, rather than at the end of the original first line. The count recorded for the change is now the number of lines joined.
Why
This fixes an off-by-one error. Anyone used to J in Vim now gets the result they expect.