Skip to content

v1.2.7 — Fix: Down/Up couldn't reach the last line(s) for yank

Latest

Choose a tag to compare

@fermat-tech fermat-tech released this 16 Sep 07:27

What's fixed

Follow-up to v1.2.6: Ng/NG yanking the wrong line was fixed there, but
plain single-line scrolling (Down/j, Up/k) had the same underlying
issue. On a file short enough to fit on one screen — or once you reached
the final page of a longer file — the viewport has nothing left to scroll
into, so Down became a no-op and y kept yanking whatever line was
already on screen instead of the one you pressed Down to reach.

Example: on a 2-line file, g (top) then Down then y always yanked
line 1, never line 2.

Fix: a single-line scroll that can't move the viewport now advances the
yank target directly within the already-visible remainder, so g, Down,
y (and repeated Down through a file's final page) reach the correct
line. Down/Up still scroll exactly one line at a time on longer files
— unchanged.

Binaries

File Target
winless_windows_amd64.exe Windows x64 (most PCs)
winless_windows_arm64.exe Windows on ARM (Surface Pro X, Copilot+ PCs)