-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.custom.yaml
More file actions
117 lines (100 loc) · 3.26 KB
/
Copy pathdefault.custom.yaml
File metadata and controls
117 lines (100 loc) · 3.26 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
117
patch:
schema_list:
- schema: powerful86wubi
- schema: ranwu
key_binder:
bindings:
- { when: has_menu, accept: semicolon, send: 2 } # 分号 `;`映射到候选2
- { when: has_menu, accept: apostrophe, send: 3 } # 单引号`'`映射到候选3
- { when: has_menu, accept: bracketleft, send: Page_Up } # `[` 映射到pageup
- { when: has_menu, accept: bracketright, send: Page_Down } # `]` 映射到pagedown
- { when: has_menu, accept: space, send: space} # 有候选菜单时,空格上屏
- { when: composing, accept: space, send: Escape} # 无候选时发送esc取消
- { when: always, accept: Shift_L, toggle: ascii_mode }
- { when: always, accept: Shift_R, toggle: ascii_mode }
menu:
# 空格,分号,单引(对应3选一页)
page_size: 5
alternative_select_labels: [ "", "", "", "", "" ] # 极简
#alternative_select_labels: [ "〔首〕", "〔主〕", "〔副〕","〔次〕","〔备〕" ] # 修改候选前缀
ascii_composer:
good_old_caps_lock: true #cap键会切换大小写
switch_key:
Caps_Lock: clear
Control_L: noop
Control_R: noop
Eisu_toggle: clear
Shift_L: commit_code
Shift_R: commit_code
# inline_ascii 临时英文
# commit_text 候选上屏并切换至英文
# commit_code 编码上屏并切换至英文
# noop/clear 空操作/清除
punctuator:
full_shape:
"'": {pair: ["‘", "’"]}
"\"": {pair: ["“", "”"]}
" ": {commit: " "}
"!": {commit: "!"}
",": {commit: ","}
.: {commit: "。"}
":": {commit: ":"}
";": {commit: ";"}
"?": {commit: "?"}
"^": {commit: "……"}
"&": "&"
_: "——"
"~": "~"
"`": "`"
"(": "("
")": ")"
"+": "+"
"-": "-"
"=": "="
"\\": "、"
"<": ["《", "〈", "«", "‹"]
">": ["》", "〉", "»", "›"]
"[": ["「", "【", "〔", "["]
"]": ["」", "】", "〕", "]"]
"{": ["『", "〖", "{"]
"}": ["』", "〗", "}"]
"#": ["#", "⌘"]
"$": ["¥", "$", "€", "£", "¥", "¢", "¤"]
"%": ["%", "°", "℃"]
"*": ["・", "·", "*", "×", "※", "❂"]
"/": ["/", "÷"]
"@": ["@", "☯"]
"|": ["·", "|", "§", "¦"]
half_shape:
"'": {pair: ["‘", "’"]}
"\"": {pair: ["“", "”"]}
"!": {commit: "!"}
",": {commit: ","}
.: {commit: "。"}
":": {commit: ":"}
";": {commit: ";"}
"?": {commit: "?"}
"^": {commit: "……"}
"#": "#"
"&": "&"
"(": "("
")": ")"
"+": "+"
"-": "-"
"=": "="
"@": "@"
_: "——"
"`": "`"
"\\": "、"
"<": ["《", "〈", "«", "‹"]
">": ["》", "〉", "»", "›"]
"[": ["「", "【", "〔", "["]
"]": ["」", "】", "〕", "]"]
"{": ["『", "〖", "{"]
"}": ["』", "〗", "}"]
"$": ["¥", "$", "€", "£", "¥", "¢", "¤"]
"%": ["%", "%", "°", "℃"]
"*": ["*","・", "*", "·", "×", "※", "❂"]
"/": ["、", "/", "/", "÷"]
"|": ["·", "|", "|", "§", "¦"]
"~": ["~", "~"]