chore: start demos in vim
BIN
vhs/comment.gif
|
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 272 KiB |
|
|
@ -9,26 +9,21 @@ Set Shell "bash"
|
|||
Set Theme "tokyonight"
|
||||
Set TypingSpeed 250ms
|
||||
|
||||
Hide
|
||||
Type@0ms "alias nvim='./nvim.sh'" Enter
|
||||
Type@0ms "clear" Enter
|
||||
Show
|
||||
|
||||
Type "nvim comment.go" Sleep 150ms Enter
|
||||
Hide Type@0ms "./nvim.sh comment.go" Enter Show
|
||||
|
||||
# package
|
||||
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
||||
|
||||
# func
|
||||
Type "3j"
|
||||
Type@400ms "jjj"
|
||||
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
||||
|
||||
# struct
|
||||
Type "3j"
|
||||
Type@400ms "jjj"
|
||||
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
||||
|
||||
# interface
|
||||
Type "3j"
|
||||
Type@400ms "jjj"
|
||||
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
||||
|
||||
Sleep 5s
|
||||
|
|
|
|||
BIN
vhs/iferr.gif
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 89 KiB |
|
|
@ -10,12 +10,7 @@ Set Shell "bash"
|
|||
Set Theme "tokyonight"
|
||||
Set TypingSpeed 250ms
|
||||
|
||||
Hide
|
||||
Type@0ms "alias nvim='./nvim.sh'" Enter
|
||||
Type@0ms "clear" Enter
|
||||
Show
|
||||
|
||||
Type "nvim iferr.go" Sleep 150ms Enter
|
||||
Hide Type@0ms "./nvim.sh iferr.go" Enter Show
|
||||
|
||||
Type "3j"
|
||||
Type ":GoIfErr" Sleep 500ms Enter
|
||||
|
|
|
|||
BIN
vhs/impl.gif
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 74 KiB |
|
|
@ -1,6 +1,6 @@
|
|||
Output impl.gif
|
||||
Require nvim
|
||||
Require iferr
|
||||
Require impl
|
||||
|
||||
Set FontFamily "JetBrains Mono"
|
||||
Set Height 800
|
||||
|
|
@ -10,14 +10,9 @@ Set Shell "bash"
|
|||
Set Theme "tokyonight"
|
||||
Set TypingSpeed 250ms
|
||||
|
||||
Hide
|
||||
Type@0ms "alias nvim='./nvim.sh'" Enter
|
||||
Type@0ms "clear" Enter
|
||||
Show
|
||||
|
||||
Type "nvim impl.go" Sleep 150ms Enter
|
||||
Hide Type@0ms "./nvim.sh impl.go" Enter Show
|
||||
|
||||
Type "2j"
|
||||
Type ":GoImpl io.Reader" Sleep 500ms Enter
|
||||
Type ":GoImpl c io.Reader" Sleep 700ms Enter
|
||||
|
||||
Sleep 5s
|
||||
|
|
|
|||
BIN
vhs/tags.gif
|
Before Width: | Height: | Size: 246 KiB After Width: | Height: | Size: 252 KiB |
|
|
@ -10,27 +10,22 @@ Set Shell "bash"
|
|||
Set Theme "tokyonight"
|
||||
Set TypingSpeed 250ms
|
||||
|
||||
Hide
|
||||
Type@0ms "alias nvim='./nvim.sh'" Enter
|
||||
Type@0ms "clear" Enter
|
||||
Show
|
||||
Hide Type@0ms "./nvim.sh tags.go" Enter Show
|
||||
|
||||
Type "nvim tags.go" Sleep 150ms Enter
|
||||
|
||||
Type "3j"
|
||||
Type@400ms "jjj"
|
||||
Type ":GoTagAdd json yaml" Sleep 500ms Enter
|
||||
Type@120ms ":w" Enter
|
||||
Sleep 1s
|
||||
|
||||
Type ":GoTagRm json" Sleep 500ms Enter
|
||||
Type@120ms ":w" Enter
|
||||
Type ":w" Enter
|
||||
Sleep 1s
|
||||
|
||||
Type ":GoTagClear" Sleep 500ms Enter
|
||||
Type@120ms ":w" Enter
|
||||
Type ":w" Enter
|
||||
Sleep 1s
|
||||
|
||||
Type "jV2j"
|
||||
Type@400ms "jVjj"
|
||||
Type ":GoTagAdd xml" Sleep 500ms Enter
|
||||
|
||||
Sleep 5s
|
||||
|
|
|
|||