summaryrefslogtreecommitdiff
path: root/test/snapshots/leader.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-26 23:50:25 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commita1f26fc4977b185cbd603749157360c011452e5e (patch)
tree5702b7316227e1714ae29885f445b2a2f3b00929 /test/snapshots/leader.snap
parentd9da3ce9e87cf4c43bf34664031f090e6dde2410 (diff)
downloadpardes-a1f26fc4977b185cbd603749157360c011452e5e.tar.gz
pardes-a1f26fc4977b185cbd603749157360c011452e5e.zip
window navigation builtins: SPC w h/j/k/l focus, SPC w t file<->terminal
Left/Down/Up/Right run the existing focusDir (now taking the pane the builtin ran on, so an executed name acts on ITS pane); the Ctrl-w prefix routes through the same four builtins instead of calling focusDir itself. Toggleterm hops between the most recently focused document and terminal off focus_hist, the MRU the core already rebuilds each sync. Ctrl-w stays: a tty-mode pane never sees SPC, so it is the only keyboard way out of one. Its snapshot step now moves focus somewhere (c-w l), which the old c-w h in that layout did not.
Diffstat (limited to 'test/snapshots/leader.snap')
-rw-r--r--test/snapshots/leader.snap8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/snapshots/leader.snap b/test/snapshots/leader.snap
index 26d11cd7..0d2dc423 100644
--- a/test/snapshots/leader.snap
+++ b/test/snapshots/leader.snap
@@ -62,6 +62,14 @@ key ?
wait 10000 SPC s r
stable 700 15000
snap help-all
+# `SPC w ?`: the window group, whose five builtins are the tail of the full
+# listing above and fall off the bottom of this pane there
+key space
+key w
+key ?
+wait 10000 Toggleterm
+stable 700 15000
+snap help-window
# Esc in the BODY of an output buffer IS Del: +Help has no file behind it and
# nothing worth keeping, so the key that elsewhere only drops a selection
# dismisses the whole pane and hands its height back to the pane above.