# SPC f f: a query pane under the pane (Query.zig), line 1 `Find `, typed # into. The files below the pane's directory are listed once, on the disk # engine's worker (rg --files when it is on PATH, else the sorted walk: both # pass over .git), and each key scores them fuzzily (pick's scorer), the best # first, the matched letters tinted. The current one is shown in the # +Preview under the query pane, born with it so nothing moves later; # Ctrl-n / Ctrl-p step it, never the pointer. Enter makes the preview the # file's pane where it stands. Esc while typing closes the query pane and # gives its rows back. A query that matches nothing is a count of 0, not an # exit. B2 on `Find` with a selection asks with that word, the keyboard # staying in the text. dirmk sub dirmk sub/nest dirmk .git file here.txt Find zqm file zqmark-alpha.txt alpha body file sub/ZQMARK-beta.txt beta body file sub/nest/zqmark-gamma.txt gamma body file other.txt nothing to match here file .git/zqmark-hidden.txt hidden body start 41 120 here.txt wait 8000 here.txt stable 700 20000 # SPC f is a group (Find, New, Save, Recent, Grep): the indicator waits key space key f stable 400 5000 snap group # the second f opens the query pane: every file listed, line 1 `Find ` key f wait 10000 zqmark-alpha.txt stable 700 15000 snap armed text zqm stable 700 15000 snap typing # the next one current, its text in the preview key c-n wait 10000 beta body stable 700 15000 snap next # Enter: the preview is that file's pane now, where it stood key enter stable 700 15000 snap promoted # a second Find from here.txt reuses its query pane; nothing found is 0 press left 8 4 release left 8 4 stable 400 5000 key space key f key f text zzqq stable 700 15000 snap nomatch # Esc: the kept rows of the last query are back key esc settle 100 stable 700 15000 snap cancel # B2 on Find with `zqm` selected in here.txt: the query pane under it, the # keyboard still in here.txt press left 13 4 drag left 15 4 release left 15 4 stable 400 5000 press middle @Find 1 release middle @Find 1 wait 10000 Find zqm stable 700 15000 snap topbar