# tty n/N token motion (normal mode only): n/N SELECT the next/prev # whitespace-separated token that look resolves — several per line, so the # greet ls row hops big.txt -> plain.txt -> sub — moving the cursor to the # token start and opening NOTHING. Return looks the selection (dir -> shell # +ls there, file -> pane) and focus follows what opened. The first n wraps # from the prompt row to the first token; insert-mode n still types; and a # pane with nothing look-able in it never traps the walk, because the walk is # a RING ACROSS PANES rather than a scan of the one you are in. lines big.txt 40 file plain.txt just text dirmk sub # a directory looked at opens a terminal there (DirLook terminal), as this # script was written for; DirLook pane, the default, is dirpane.snap's config DirLook terminal start 31 120 -n 3 wait 8000 big.txt stable 700 20000 # first n: cursor sits at the shell prompt below the output — wrap lands on # the ls row's first token, big.txt; nothing opens key n stable 400 5000 snap tok1 snapstyle tok1 # same row, next token: plain.txt key n stable 400 5000 snap tok2 # N steps back to big.txt key N stable 400 5000 snap tokback # insert-mode n still types (a run splice), no stepping; undo it key i text nn key esc settle 100 stable 400 5000 snap insert key u stable 400 5000 # resume the walk from big.txt's start: plain.txt, then sub key n stable 400 5000 key n stable 400 5000 snap tok3 # Return looks the selected dir: a shell opens below in sub and ls's it key enter stable 700 15000 snap diropen # the fresh pane's dir is empty, and that is not where n stops: the ring is # spined on the panes that have LOOKED, so the step leaves this shell for the # one it was looked out of. That pane's cursor is on its last token (`sub`), # so the walk runs off the end and comes round to its first — big.txt. key n stable 400 5000 snap noop # back in the first pane, Enter with the cursor ON a token looks it (no # selection: the cursor word expands) — big.txt opens as a file pane press left 4 5 release left 4 5 stable 400 5000 key enter stable 700 15000 snap fileopen