-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.custom.yaml
52 lines (46 loc) · 1.89 KB
/
default.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
config_version: '2023-04-28'
patch:
schema_list:
- schema: flypy
- schema: rime_ice
- schema: double_pinyin_flypy
menu:
page_size: 5 # 每頁候選數
switcher:
caption: 「方案选单」
hotkeys:
- F4
- Control+grave
save_options: # 开关记忆,从方案选单(而非快捷键)切换时会记住的选项,需要记忆的开关不能设定 reset
- ascii_mode
- ascii_punct
- simplification
- emoji
- full_shape
fold_options: true # 呼出时是否折叠,多方案时建议折叠 true ,一个方案建议展开 false
abbreviate_options: true # 折叠时是否缩写选项
option_list_separator: ' | ' # 折叠时的选项分隔符
ascii_composer:
good_old_caps_lock: false
switch_key:
Control_L: noop
Control_R: noop
Eisu_toggle: clear
# Shift_L: commit_code
Shift_R: commit_code
key_binder:
bindings:
- {accept: semicolon, send: 2, when: has_menu} #分号次选
- {accept: apostrophe, send: 3, when: has_menu} #单引号三选
- {accept: Tab, send: Down, when: has_menu}
- {accept: "Shift+Tab", send: Up, when: composing}
- {accept: minus, send: Page_Down, when: has_menu}
- {accept: equal, send: Page_Up, when: paging}
- {accept: bracketleft, send: Page_Down, when: has_menu}
- {accept: bracketright, send: Page_Up, when: paging}
recognizer:
patterns:
email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$" # 自带的,email 正则
url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$" # 自带的,URL 正则
underscore: "^[A-Za-z]+_.*" # 下划线不上屏
uppercase: "[A-Z][-_+.'A-Z0-9a-z]*(?<![0-9])$" # 大写字母后可输入其他字符,无符号时无法输入数字,方便上屏英文单词