-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.tape
More file actions
116 lines (106 loc) · 2.5 KB
/
demo.tape
File metadata and controls
116 lines (106 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# The VHS tape for the demo video
# Output to a video
Output demo.mp4
# Require Neovim
Require nvim
# Settings for the demo
Set FontSize 20
Set FontFamily "Maple Mono NF CN"
Set Theme "BlulocoDark"
Set Padding 20
Set Margin 0
# Hide the setup part
Hide
# Open Neovim
Type "nvim demo.md" Enter
# Set the typing speed to an extremely fast typing speed
Set TypingSpeed 0.1ms
# Change the colour scheme to Bluloco dark
Type ":colorscheme bluloco-dark" Enter
# Disable blink.cmp
Type `:lua require("blink.cmp.config")`
Type ".merge_with({ enabled = function() return false end })" Enter
Type ":" Escape
Sleep 2s
# Set the typing speed to a normal typing speed
Set TypingSpeed 150ms
# Show the demonstration
Show
Type "i"
Sleep 250ms
Type "Hi there!"
Sleep 1s
Enter 2
Type "Welcome to the demonstration for Nerd Column!"
Sleep 1s
Enter 2
Type "Nerd Column is a plugin that automatically enables your "
Type "colour column when it is needed, which is when you exceed "
Type "the length set on the colour column, like right now!"
Sleep 1s
Enter 2
Type "The colour column is currently set to `80`, which you can "
Type "see by using the `:set colorcolumn?` command."
Escape
Sleep 1s
Type ":set colorcolumn?"
Sleep 500ms
Enter
Sleep 1s
Type "A" Enter 2
Type "Now let's delete some text and watch the colour column disappear!"
Escape
Type "2k"
Type "dap"
Sleep 1s
Type "2k"
Type "dap"
Sleep 500ms
Type "u"
Type "u"
Sleep 1s
Ctrl+R
Ctrl+R
Sleep 1s
Type "u"
Type "u"
Sleep 1s
Ctrl+R
Ctrl+R
Sleep 1s
Type "G"
Type "A" Enter 2
Type "The colour column disappeared, as none of the lines exceeded "
Type "the line length of `80`, except for this one that is being typed."
Sleep 1s
Enter 2
Type "Nerd Column also provides a few commands that you can use to enable "
Type "or disable the plugin." Enter 2
Type "The `:NerdColumnEnable` command will enable the plugin regardless "
Type "of its previous state, and the `:NerdColumnDisable` command will disable "
Type "the plugin regardless of its previous state. "
Type "The `:NerdColumnToggle` command will toggle the plugin on and off, "
Type "based on whether the plugin was enabled or disabled."
Sleep 1s
Enter 2
Type "Let's try the commands out!"
Sleep 500ms
Escape
Type ":NerdColumnDisable" Enter
Sleep 1s
Type ":NerdColumnEnable" Enter
Sleep 1s
Type ":NerdColumnToggle" Enter
Sleep 1s
Type ":NerdColumnToggle" Enter
Sleep 1s
Type ":NerdColumnToggle" Enter
Sleep 1s
Type ":NerdColumnToggle" Enter
Sleep 1s
Type "A" Enter 2
Type "Okay, that is all for this demonstration, goodbye!"
Escape
Type ":q!"
Sleep 1s
Enter