-
Notifications
You must be signed in to change notification settings - Fork 5
/
wubi86.custom.yaml
67 lines (62 loc) · 2 KB
/
wubi86.custom.yaml
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
patch:
speller:
max_code_length: 4 #最长 4 码
auto_select: true #顶字上屏
auto_select_unique_candidate: true #无重码自动上屏
switches:
# - name: ascii_mode
# reset: 0
# states: ["中文", "西文"]
- name: full_shape
states: ["半角", "全角"]
- name: extended_charset
states: ["常用", "增廣"]
# - name: ascii_punct
# states: ["。,", ".,"]
# - name: emoji_suggestion
# reset: 1
# states: ["🈚️️︎", "🈶️️️"]
engine/translators:
- punct_translator
- reverse_lookup_translator
- table_translator
- lua_translator@date_translator # 自定义系统变量输出
translator/dictionary: wubi86.extended
punctuator/half_shape:
"!": {commit: "!"}
"\"": {pair: ["“", "”"]}
"#": "#"
"$": "$"
"%": ["%", "%", "°", "℃", "‰", "‱", "℉", "℅", "℆", "℀", "℁", "⅍"]
"&": "&"
"'": {pair: ["‘", "’"]}
"(": "("
")": ")"
"*": ["*", "*", "·", "・", "×", "※", "❂", "⁂", "☮", "☯", "☣"]
"+": "+"
",": {commit: ","}
"-": "-"
.: {commit: "。"}
"/": ["、", "、", "/", "/", "÷"]
":": {commit: ":"}
";": {commit: ";"}
"<": ["《", "〈", "«", "‹", "˂", "˱"]
"=": ["=", "々", "〃"]
">": ["》", "〉", "»", "›", "˃", "˲"]
"?": {commit: "?"}
"@": ["@", "©", "®", "℗"]
"[": ["「", "【", "〔", "[", "〚", "〘"]
"\\": ["、", "\\", "\"]
"]": ["」", "】", "〕", "]", "〛", "〙"]
"^": {commit: "……"}
_: "——"
"`": ["`", "‵", "‶", "‷", "′", "″", "‴", "⁗"]
"{": ["『", "〖", "{"]
"|": ["·", "・", "|", "|", "§", "¦", "‖", "︴"]
"}": ["』", "〗", "}"]
"~": ["~", "~", "˜", "˷", "ⸯ", "≈", "≋", "≃", "≅", "≇", "∽", "⋍", "≌", "﹏", "﹋", "﹌", "︴"]
__patch:
# Rx: emoji:customize:schema=wubi86 {
- patch/+:
__include: emoji_suggestion:/patch
# }