Skip to content

Commit

Permalink
Reworked demo gif
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenldl committed Nov 16, 2023
1 parent c530add commit ac6c238
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 26 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ Navigating repo:

---

Navigating "OCaml Programming: Correct + Efficient + Beautiful" book PDF:
Navigating "OCaml Programming: Correct + Efficient + Beautiful" book PDF
and opening it to location of search result via PDF viewer integration:

![](screenshots/pdf-viewer-integration.jpg)

Expand Down
2 changes: 2 additions & 0 deletions containers/demo-vhs/Containerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM ghcr.io/charmbracelet/vhs

RUN apt-get install -y poppler-utils

RUN apt-get install -y neovim
Binary file modified demo-vhs-gifs/repo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 6 additions & 25 deletions demo-vhs-tapes/repo.tape
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Set FontSize 15

Set TypingSpeed 100ms

Type@80ms "docfd --cache-dir .cache --exts md"
Type@50ms "docfd --cache-dir .cache --exts md --max-depth 1 # using a local cache for demo"
Enter

Sleep 0.1s
Sleep 1s

Type "j"
Sleep 1s
Expand All @@ -31,32 +31,13 @@ Sleep 1s
Tab
Sleep 1s

Type "j"
Sleep 1s
Type "k"
Sleep 1s

Tab
Sleep 2s

Type "x"
Type "/"
Type "search document"
Enter
Sleep 1s

Type "J"
Sleep 1s
Type "J"
Sleep 1s
Type "K"
Sleep 1s
Type "K"
Enter
Down@0.1s 30
Sleep 1s
Type@200ms ":q"
Enter

Type "j"
Sleep 1s
Type "j"
Sleep 2s

Type "q"

0 comments on commit ac6c238

Please sign in to comment.