summaryrefslogtreecommitdiff
path: root/test/snapshots/hscroll.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 16:15:15 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commit06fe2290db7d0eb654b9a908358942cfde298e29 (patch)
tree3951919743798ec978e7ae925529c4fbd4ea130a /test/snapshots/hscroll.snap
parent07a3f53993a27c886ccb3ed665acb9c8b34a2873 (diff)
downloadpardes-06fe2290db7d0eb654b9a908358942cfde298e29.tar.gz
pardes-06fe2290db7d0eb654b9a908358942cfde298e29.zip
$ keeps the selections a shell command exits 0 on, and line end is gl
$ was a second key for line end, which helix never meant: in helix it is shell_keep_pipe. It now arms the pipe prompt with a $ marker, runs the command once per range with that range's text on stdin, and keeps the ranges it exits 0 on; the primary stays if kept, else the last kept range takes over, and keeping none changes nothing. The runner's answer is all or nothing, so the command runs in a subshell whose status is echoed as its output. Line end stays on helix's own gl and End; the snapshots, tutor and docs that pressed $ for it press gl. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/snapshots/hscroll.snap')
-rw-r--r--test/snapshots/hscroll.snap4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/snapshots/hscroll.snap b/test/snapshots/hscroll.snap
index 6f73154f..05366323 100644
--- a/test/snapshots/hscroll.snap
+++ b/test/snapshots/hscroll.snap
@@ -36,10 +36,10 @@ send \x1b[<67;10;8M
send \x1b[<67;10;8M
stable 400 5000
snap clamped
-# $ walks the cursor to the line end: the view follows with the margin
+# gl walks the cursor to the line end: the view follows with the margin
key g g
stable 400 5000
-key $
+key g l
stable 400 5000
snap dollar
# 0 back to column zero: the view snaps home