-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
52 lines (52 loc) · 1.11 KB
/
config.json
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
{
"archive_root": "/Users/yourname/Developer/archive",
"archive_syntax": {
"tocs": "README",
"pagerefs": "<<([^>,]+).*>>",
"qidrefs": "^:ext:([0-9]+):(?: .*)?$",
"headings": "^=(?: )?(.*)",
"qids": "^:([0-9]+):(?: .*)?",
"stats": [
"^(\\.[^. ]+|\\.+ .+|\\*+ .+|[^\\n\\'\":=/\\-+< ]+)"
]
},
"card_config": {
"deck_name": "mydecks::archive",
"pageid_prefix": "",
"pageid_suffix": "",
"qid_field": "noteid",
"qid_use_prefill": false
},
"card_sets": [
{
"content_field": "Original",
"model_name": "Cloze (overlapping)",
"deck_subdeck": ""
}
],
"commands": [
{
"type": "shell",
"title": "VimR",
"description": "Show the question in VimR",
"arguments": [
"/usr/local/bin/vimr",
"$ROOT/$FILE",
"--nvim",
"-c",
"'bd!'",
"-c",
"'/^:$QID:.*$/'",
"-c",
"normal! zz"
]
},
{
"type": "clipboard",
"title": "Copy URI",
"description": "Copy URI to clipboard ",
"text": "$SECTION::$PAGE#$QID"
}
],
"debug": false
}