diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-26 17:47:39 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | a4a2a96d023a5977ae7a7d07c7ee9e4fe38e9c60 (patch) | |
| tree | 72d69bce82c9e0145ae63bdf263a5ea16c705748 /test/snapshots/tagcmd.snap | |
| parent | 2c670371a21cde5ab506eda02dc2233e20fc1fe1 (diff) | |
| download | pardes-a4a2a96d023a5977ae7a7d07c7ee9e4fe38e9c60.tar.gz pardes-a4a2a96d023a5977ae7a7d07c7ee9e4fe38e9c60.zip | |
Small ux improvements, : tagline focus
Diffstat (limited to 'test/snapshots/tagcmd.snap')
| -rw-r--r-- | test/snapshots/tagcmd.snap | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/snapshots/tagcmd.snap b/test/snapshots/tagcmd.snap new file mode 100644 index 00000000..d7d002ff --- /dev/null +++ b/test/snapshots/tagcmd.snap @@ -0,0 +1,40 @@ +# `:` — vim's command line with acme's vocabulary. It focuses the pane's OWN +# tag in NORMAL mode (block cursor, NOR in the prefix), parked at the tail's +# START — always the start, so `:w` is the same two keystrokes every time. +# Motions walk the tag's words (w selects the "Save" span, exactly like a body +# word motion), the execute chord runs the one under the cursor and hands the +# body back in normal mode — same keys as the body, so Tab by default (see +# swap_enter_tab). Esc backs out instead, leaving the tail as it was. +lines c.txt 6 +start 30 100 c.txt +wait 8000 Kill Newcol +wait 8000 c.txt +stable 700 20000 +# edit line 1 so Save has something to write +key i +text ZZEDIT +key esc +settle 700 +stable 400 5000 +snap edited +# `:` -> the tag, in normal mode, cursor on the tail's first cell +key : +stable 400 5000 +snap colon +# w -> the "Save" span (selected, like the body's word motion) +key w +stable 400 5000 +snap word +# Tab executes it: c.txt is written and focus is back in the body +key tab +settle 800 +stable 400 5000 +snap saved +snapfile written /tmp/pardes-snap/tagcmd/cwd/c.txt +# `:` then Esc: back to the body with the tail untouched, nothing run +key : +stable 400 5000 +key esc +settle 700 +stable 400 5000 +snap escaped |
