chore(readme): add json2go
This commit is contained in:
parent
bc3ce2fdf4
commit
71e3383146
5 changed files with 60 additions and 0 deletions
|
|
@ -18,3 +18,6 @@ tasks:
|
|||
|
||||
impl:
|
||||
cmd: vhs impl.tape
|
||||
|
||||
json2go:
|
||||
cmd: vhs json2go.tape
|
||||
|
|
|
|||
BIN
vhs/json2go.gif
Normal file
BIN
vhs/json2go.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 282 KiB |
2
vhs/json2go.go
Normal file
2
vhs/json2go.go
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
package main
|
||||
|
||||
27
vhs/json2go.tape
Normal file
27
vhs/json2go.tape
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
Output json2go.gif
|
||||
Require nvim
|
||||
Require json2go
|
||||
|
||||
Set FontFamily "JetBrains Mono"
|
||||
Set Height 800
|
||||
Set Width 1500
|
||||
Set Padding 20
|
||||
Set Shell "bash"
|
||||
Set Theme "tokyonight"
|
||||
Set TypingSpeed 250ms
|
||||
|
||||
Hide Type@0ms "./nvim.sh json2go.go" Enter Show
|
||||
|
||||
Type@0ms "G"
|
||||
Type@400ms ":GoJson" Sleep 500ms Enter
|
||||
Type@70ms "{" Enter
|
||||
Type@70ms `"json": true,` Enter
|
||||
Type@70ms `"user": {"name": "Name", "of_age": true}` Enter
|
||||
Type@70ms "}"
|
||||
Escape Type@500ms ":wq" Enter
|
||||
Sleep 1s
|
||||
|
||||
Type@25ms "G2o" Escape
|
||||
Type@120ms `:GoJson {"json": true}` Enter
|
||||
|
||||
Sleep 5s
|
||||
Loading…
Add table
Add a link
Reference in a new issue