docs: re-record demo GIF — clean narrative, zero lint warnings

5-scene story: open → fuzzy find → ripgrep → run file → cheat sheet.
Demo project rewritten with functional dispatch (no class/stdlib method
name lint issues). All frames clean — no ALE warnings, no git markers.
This commit is contained in:
m1ngsama 2026-04-22 17:45:52 +08:00
parent a42c980d3e
commit 2c7d190314
2 changed files with 27 additions and 27 deletions

BIN
.github/demo.gif vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 497 KiB

After

Width:  |  Height:  |  Size: 924 KiB

54
.github/demo.tape vendored
View file

@ -1,6 +1,5 @@
# chopsticks demo — reliable version # chopsticks demo — narrative: "what can I do with this?"
# Key insight: NEVER use Escape to close FZF — always Enter (select result). # Rule: NEVER use Escape to close FZF — always Enter (deterministic).
# This guarantees Vim returns to Normal mode with a known buffer.
Output .github/demo.gif Output .github/demo.gif
Set Shell bash Set Shell bash
@ -8,33 +7,39 @@ Set FontSize 14
Set Width 1080 Set Width 1080
Set Height 620 Set Height 620
Set Theme "Builtin Solarized Dark" Set Theme "Builtin Solarized Dark"
Set TypingSpeed 40ms Set TypingSpeed 35ms
Set Padding 10 Set Padding 10
# ── 1. Open file — syntax + statusline ───────────────────────────────────── # ── 1. Context + open ──────────────────────────────────────────────────────
Type "cd /tmp/demo-project && vim app.py" # The tagline tells the viewer WHY before showing WHAT.
Type "cd /tmp/demo-project"
Enter
Sleep 0.8s
Type "vim server.py"
Enter Enter
Sleep 2.5s Sleep 2.5s
# ── 2. Fuzzy find — open another file ────────────────────────────────────── # ── 2. Fuzzy find files (Ctrl+p → type → select) ──────────────────────────
# Shows: IDE-level file navigation — fuzzy match + live preview.
Ctrl+p Ctrl+p
Sleep 1s Sleep 1s
Type "utils" Type "route"
Sleep 1.2s
Enter
Sleep 2s
# ── 3. Ripgrep — search + jump to result ───────────────────────────────────
Type ",rg"
Sleep 1s
Type "greet"
Sleep 1.5s Sleep 1.5s
Enter Enter
Sleep 2s Sleep 2s
# ── 4. Run file ──────────────────────────────────────────────────────────── # ── 3. Ripgrep project search (,rg → query → select) ──────────────────────
# reset to app.py (known state) # Shows: grep entire project with preview — like VS Code Ctrl+Shift+F.
Type ":edit app.py" Type ",rg"
Sleep 1s
Type "def "
Sleep 1.5s
Enter
Sleep 2s
# ── 4. Run file (,cr) ─────────────────────────────────────────────────────
# Shows: one-key execution — no switching to terminal.
Type ":edit server.py"
Enter Enter
Sleep 1s Sleep 1s
Type ",cr" Type ",cr"
@ -42,15 +47,10 @@ Sleep 3s
Enter Enter
Sleep 1s Sleep 1s
# ── 5. Git log ───────────────────────────────────────────────────────────── # ── 5. Cheat sheet (,?) ───────────────────────────────────────────────────
Type ",gL" # Shows: it's discoverable — every keybinding in one sidebar.
Sleep 2.5s
Type "q"
Sleep 1s
# ── 6. Cheat sheet ─────────────────────────────────────────────────────────
Type ",?" Type ",?"
Sleep 3.5s Sleep 4s
Type "q" Type "q"
Sleep 0.5s Sleep 0.5s