chore: start demos in vim (#122)
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 Theme "tokyonight"
|
||||||
Set TypingSpeed 250ms
|
Set TypingSpeed 250ms
|
||||||
|
|
||||||
Hide
|
Hide Type@0ms "./nvim.sh comment.go" Enter Show
|
||||||
Type@0ms "alias nvim='./nvim.sh'" Enter
|
|
||||||
Type@0ms "clear" Enter
|
|
||||||
Show
|
|
||||||
|
|
||||||
Type "nvim comment.go" Sleep 150ms Enter
|
|
||||||
|
|
||||||
# package
|
# package
|
||||||
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
||||||
|
|
||||||
# func
|
# func
|
||||||
Type "3j"
|
Type@400ms "jjj"
|
||||||
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
||||||
|
|
||||||
# struct
|
# struct
|
||||||
Type "3j"
|
Type@400ms "jjj"
|
||||||
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
||||||
|
|
||||||
# interface
|
# interface
|
||||||
Type "3j"
|
Type@400ms "jjj"
|
||||||
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
Type ":GoCmt" Enter Sleep 500ms Escape Sleep 700ms
|
||||||
|
|
||||||
Sleep 5s
|
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 Theme "tokyonight"
|
||||||
Set TypingSpeed 250ms
|
Set TypingSpeed 250ms
|
||||||
|
|
||||||
Hide
|
Hide Type@0ms "./nvim.sh iferr.go" Enter Show
|
||||||
Type@0ms "alias nvim='./nvim.sh'" Enter
|
|
||||||
Type@0ms "clear" Enter
|
|
||||||
Show
|
|
||||||
|
|
||||||
Type "nvim iferr.go" Sleep 150ms Enter
|
|
||||||
|
|
||||||
Type "3j"
|
Type "3j"
|
||||||
Type ":GoIfErr" Sleep 500ms Enter
|
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
|
Output impl.gif
|
||||||
Require nvim
|
Require nvim
|
||||||
Require iferr
|
Require impl
|
||||||
|
|
||||||
Set FontFamily "JetBrains Mono"
|
Set FontFamily "JetBrains Mono"
|
||||||
Set Height 800
|
Set Height 800
|
||||||
|
|
@ -10,14 +10,9 @@ Set Shell "bash"
|
||||||
Set Theme "tokyonight"
|
Set Theme "tokyonight"
|
||||||
Set TypingSpeed 250ms
|
Set TypingSpeed 250ms
|
||||||
|
|
||||||
Hide
|
Hide Type@0ms "./nvim.sh impl.go" Enter Show
|
||||||
Type@0ms "alias nvim='./nvim.sh'" Enter
|
|
||||||
Type@0ms "clear" Enter
|
|
||||||
Show
|
|
||||||
|
|
||||||
Type "nvim impl.go" Sleep 150ms Enter
|
|
||||||
|
|
||||||
Type "2j"
|
Type "2j"
|
||||||
Type ":GoImpl io.Reader" Sleep 500ms Enter
|
Type ":GoImpl c io.Reader" Sleep 700ms Enter
|
||||||
|
|
||||||
Sleep 5s
|
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 Theme "tokyonight"
|
||||||
Set TypingSpeed 250ms
|
Set TypingSpeed 250ms
|
||||||
|
|
||||||
Hide
|
Hide Type@0ms "./nvim.sh tags.go" Enter Show
|
||||||
Type@0ms "alias nvim='./nvim.sh'" Enter
|
|
||||||
Type@0ms "clear" Enter
|
|
||||||
Show
|
|
||||||
|
|
||||||
Type "nvim tags.go" Sleep 150ms Enter
|
Type@400ms "jjj"
|
||||||
|
|
||||||
Type "3j"
|
|
||||||
Type ":GoTagAdd json yaml" Sleep 500ms Enter
|
Type ":GoTagAdd json yaml" Sleep 500ms Enter
|
||||||
Type@120ms ":w" Enter
|
Type@120ms ":w" Enter
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
Type ":GoTagRm json" Sleep 500ms Enter
|
Type ":GoTagRm json" Sleep 500ms Enter
|
||||||
Type@120ms ":w" Enter
|
Type ":w" Enter
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
Type ":GoTagClear" Sleep 500ms Enter
|
Type ":GoTagClear" Sleep 500ms Enter
|
||||||
Type@120ms ":w" Enter
|
Type ":w" Enter
|
||||||
Sleep 1s
|
Sleep 1s
|
||||||
|
|
||||||
Type "jV2j"
|
Type@400ms "jVjj"
|
||||||
Type ":GoTagAdd xml" Sleep 500ms Enter
|
Type ":GoTagAdd xml" Sleep 500ms Enter
|
||||||
|
|
||||||
Sleep 5s
|
Sleep 5s
|
||||||
|
|
|
||||||