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