From 08eadb3b46dc70a297ff89308dd1cd26237785d6 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 24 Aug 2026 22:18:24 -0300 Subject: syntax + pdf_pane + file_pane: prose grammars paint, pdf Esc cancels, gj/gk walk wrapped rows --- test/snapshots/wrap.snap | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'test/snapshots/wrap.snap') diff --git a/test/snapshots/wrap.snap b/test/snapshots/wrap.snap index b8849474..51ad6f82 100644 --- a/test/snapshots/wrap.snap +++ b/test/snapshots/wrap.snap @@ -38,6 +38,29 @@ snap clicked key j stable 400 5000 snap logical-j +# ...while `gj`/`gk` are the VISUAL pair. `gg` puts the cursor back at line 1 +# column 0 with no goal column left over, `3l` moves three in, and from there +# each `gj` steps ONE screen row: still line 1, the column kept INSIDE the row, +# so the cursor stays in grid column 10 while the row walks 2 -> 3 -> 4. `gk` +# steps back onto the row it came from. This is the only motion that reads the +# wrap map's own arithmetic, so it is the one that can silently become `j`. +key g g +stable 400 5000 +key 3 l +stable 400 5000 +key g j +stable 400 5000 +snap visual-gj +key g j +stable 400 5000 +snap visual-gj-again +key g k +stable 400 5000 +snap visual-gk +# a count is counted in ROWS too, and two of them are still inside line 1 +key 2 g j +stable 400 5000 +snap visual-count-gj # SPC t w turns it off: line 1 back on ONE row, clipped at the right edge with # no marker, lines 2 and 3 under it — the render this pane had before soft # breaks existed, because the map the readers consult goes back to empty and -- cgit v1.3