summaryrefslogtreecommitdiff
path: root/test/snapshots/windownav.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/windownav.snap')
-rw-r--r--test/snapshots/windownav.snap74
1 files changed, 0 insertions, 74 deletions
diff --git a/test/snapshots/windownav.snap b/test/snapshots/windownav.snap
deleted file mode 100644
index d929bb6f..00000000
--- a/test/snapshots/windownav.snap
+++ /dev/null
@@ -1,74 +0,0 @@
-# RULE: moving focus is a BUILTIN like any other, so there is ONE
-# implementation and every route reaches it. SPC w (as Ctrl-w) is window mode:
-# h/j/k/l move an outline by the same geometric nearest pane Left/Down/Up/Right
-# use and Enter focuses it — and SPC j j
-# plus body-normal Esc run Last, the hop to the pane you were in BEFORE this
-# one, whichever kind it was. It reads the focus history the core already keeps
-# to hand focus back when a pane closes, and going somewhere is itself recorded,
-# which is what makes the hop back the same key. Focus shows up in the golden's
-# `cursor=` header: that is the
-# ACTIVE pane's cursor, so each snap is named by the pane it should land in.
-file w.txt alpha\nbeta\ngamma
-start 31 100 w.txt
-wait 8000 Newcol Joincol
-wait 8000 w.txt
-stable 700 20000
-# A FILE boots alone now, so the terminal every hop below needs is opened here:
-# Alt-n opens it and focuses it, Alt-c puts it in a column of its own on the
-# right, SPC w h Enter comes straight back — which also puts the shell on the stack,
-# and Last only ever names a pane that is on it. (`New`/`Newcol` open an empty
-# +New scratch now, not a shell.)
-key a-n
-key a-c
-stable 700 15000
-key space w h enter
-stable 400 5000
-# left column = the file, right column = that shell; the file has focus
-snap start
-# SPC j j: the pane before this one, which is the shell just opened
-key space j j
-stable 400 5000
-snap to-term
-# ...and back, because going there made the file the pane before THAT
-key space j j
-stable 400 5000
-snap back-to-file
-# A bare Esc from a body in normal mode dispatches that SAME builtin: file to
-# terminal, then the same key on the normal-mode terminal returns to the file.
-key esc
-settle 100
-stable 400 5000
-snap esc-to-term
-key esc
-settle 100
-stable 400 5000
-snap esc-back-to-file
-# Alt-n: a second shell, below the file — the left column now has two rows
-key a-n
-stable 700 15000
-snap altn
-# SPC w k Enter: up out of that new shell into the file above it
-key space w k enter
-stable 400 5000
-snap up
-# SPC w l Enter: right, into the launch shell
-key space w l enter
-stable 400 5000
-snap right
-# SPC w h Enter: left, back into the file column
-key space w h enter
-stable 400 5000
-snap left
-# SPC w j Enter: down, into the shell under the file
-key space w j enter
-stable 400 5000
-snap down
-# SPC j j from a terminal: the file, which is where SPC w h Enter left off
-key space j j
-stable 400 5000
-snap toggle-doc
-# ...and back to the shell just left, not the launch shell in the right column,
-# which was focused earlier
-key space j j
-stable 400 5000
-snap toggle-back