-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
debug.vim
44 lines (40 loc) · 1.19 KB
/
debug.vim
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
execute $"set runtimepath+={expand('<script>:p:h')}"
call autoplay#reserve({
\ 'wait': 40,
\ 'spell_out': 1,
\ 'scripts': [
\ "\<c-l>iAutoplay start!\<cr>",
\ "This plugin will operate Vim automatically.\<cr>",
\ "You can use any commands in Vim!\<cr>",
\ "For example, open help window :)\<esc>",
\ {'wait': 1500},
\ {'exec': 'h index'},
\ {'exec': 'wincmd w'},
\ {'wait': 700},
\ "\<c-l>Go...Or change window size ;)\<esc>",
\ {'wait': 100},
\ {'exec': 'resize +1'},
\ {'wait': 100},
\ {'exec': 'resize +1'},
\ {'wait': 100},
\ {'exec': 'resize +1'},
\ "\<c-l>GoIt looks cool, right?\<esc>",
\ {'wait': 700},
\ {'exec': 'only!'},
\ {'wait': 700},
\ "oIt will be useful for making Demo.\<esc>",
\ ],
\ })
call autoplay#reserve({
\ 'wait': 60,
\ 'spell_out': 1,
\ 'remap': v:false,
\ 'name': 'demo',
\ 'scripts': [
\ ":call autoplay#run()",
\ ],
\ })
" \ {'wait': 300},
" \ "\<cr>",
" DO NOT run autoplay in autoplay
nnoremap # <cmd>call autoplay#run('demo')<cr>