summaryrefslogtreecommitdiff
path: root/test/snapshots/builtins.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-06 18:11:36 -0300
committerGabriel Schneider <[email protected]>2026-09-07 13:59:12 -0300
commit60367d8fe23f6af98ec28e3cf6c2094dfe332df0 (patch)
tree310fc734173cf771881f4691c71909135fadde97 /test/snapshots/builtins.snap
parentfa82cac885cb4738fe36d1e49b4749b5a3e31a4a (diff)
downloadpardes-60367d8fe23f6af98ec28e3cf6c2094dfe332df0.tar.gz
pardes-60367d8fe23f6af98ec28e3cf6c2094dfe332df0.zip
Refactor panes and filesystem; replace FUSE with 9P
Consolidate pane, layout, memory and host code. Serve 9P by default over Unix sockets, with runtime mounts and optional TCP/QUIC transports. Remove FUSE and obsolete proof-of-concept examples. Fix highlighting and terminal-history performance, expand differential and stress-test infrastructure, sort navigation results while preserving the next occurrence, add syntax-colored Braille minimaps, remove SPC-k, and document 9P interaction as a repository skill.
Diffstat (limited to 'test/snapshots/builtins.snap')
-rw-r--r--test/snapshots/builtins.snap75
1 files changed, 19 insertions, 56 deletions
diff --git a/test/snapshots/builtins.snap b/test/snapshots/builtins.snap
index 95db3fd9..aebb2a18 100644
--- a/test/snapshots/builtins.snap
+++ b/test/snapshots/builtins.snap
@@ -1,72 +1,35 @@
-# RULE: Help is THE INDEX of the builtins — every one of them, and every way
-# to run it — not a listing of leader paths. Three columns, all derived at
-# comptime from config.zig's own tables: the SPC path (leader_path), the name,
-# and every other shortcut bound to that name (window_keys and jump_keys' `cmd`
-# columns, look_cmd/exec_cmd with their keys and mouse buttons, a word in
-# topbar_str). A builtin added tomorrow is a row here with nothing to edit.
-#
-# The cases this exists for are the ones a leader listing could not show:
-# Look and Exec have NO SPC path — their shortcuts are Enter/Tab and the two
-# mouse buttons — Theme has no shortcut at all, because a key path can never
-# carry the name of a theme, and Filter is reached from terminal tags rather
-# than the leader. All are rows, and their blank columns are the information.
-#
-# `SPC ?` mid-chord is the SAME array read with a non-empty prefix, which is
-# why there is one builtin here and not two: the group filter drops the
-# path-less rows by itself, and the reference page is the filter's empty case.
lines notes.txt 6
start 66 120 notes.txt
wait 8000 notes.txt
stable 700 20000
snap boot
-# SPC ? at the ROOT. Focus follows the listing — you asked to read it.
+
+# The full index includes commands without leader paths.
key space ?
-wait 10000 SPC c n
-stable 700 15000
-snap index
-# The tail of the same listing: the window group carries BOTH spellings of
-# each Ctrl-w chord (the table carries both), and past the last path come the
-# builtins SPC cannot reach. `ge` walks the buffer's own body to the end.
+wait 10000 pardes builtins, and how to run each:
+wait 10000 ClipPasteBefore
key g e
+wait 10000 Look enter, right-click
+wait 10000 Exec tab, middle-click
+wait 10000 Filter
+wait 10000 Theme
stable 700 15000
-snap index-tail
-# n/N here run NOTHING, and no longer could: they are a MOTION, and the only
-# thing they do is move the selection onto look-able text. A row here is a key
-# path and a NAME — this list holds Kill, Del and Delcol — and a name is not a
-# path, so the ring finds nothing to stop on in this buffer or in the file
-# above it. Three presses, and the panes and the listing are all where they
-# were. Picking a command is executing its row, two snaps down.
-key n
-key n
-key n
-stable 700 15000
-snap not-a-picker
-# and the mid-chord filter is untouched: `SPC w ?` still answers "what can w
-# still reach", rewriting the same +Help buffer with just that group — the four
-# directional moves, each now also showing the Ctrl-w chord that is the other
-# way in, and none of the path-less builtins, which `w` cannot reach.
+
+# n moves through look-able text; it must not execute command names.
+key n n n
+wait 10000 Look enter, right-click
+wait 10000 Exec tab, middle-click
key space w ?
wait 10000 Right
stable 700 15000
snap window-group
-# back to the whole index, and a NAME in it is live text like anywhere else:
-# middle-click `Tutor` and the tutor opens. That is how a list of commands is
-# picked from — you run the row you want and the ones you passed stay unrun,
-# which is the whole reason n/N were never allowed to be the picker.
-#
-# The one place in this suite a builtin cannot be added for free: the click is
-# a SCREEN COORDINATE. The rows above `SPC h t` in the listing move Tutor and
-# this number with them — the five clipboard builtins put three there. And
-# since the language-keys footer made the page longer than the pane, the
-# re-opened view RETAINS the scroll the `ge` above left behind, which is why
-# `gg` now pins the top before the click: an exec aimed one row into the
-# footer would run "declaration," in a shell instead of opening the tutor.
-key space ?
-wait 10000 SPC c n
-key g g
+
+key space h ?
+wait 10000 Tutor
stable 700 15000
-press middle 20 66
-release middle 20 66
+snap docs-group
+press middle @Tutor 40
+release middle @Tutor 40
wait 10000 PARDES TUTOR
stable 700 15000
snap tutor-from-index