-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.custom.yaml
46 lines (40 loc) · 2.71 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
patch:
schema_list:
- schema: luna_pinyin_simp # 朙月拼音 简化字
- schema: luna_pinyin # 朙月拼音
#- schema: zrm_pinyin # zrm
- schema: double_pinyin # 自然码双拼
- schema: numbers # 大写数字
#- schema: double_pinyin_plus
menu/page_size: 9 # 候选词个数
# 若caps切换大小写无效,打开系统偏好设置-键盘-输入法-取消勾选[使用大写锁定键切换“美国”输入模式]
ascii_composer/good_old_caps_lock: true # 若为true,caps只切换大小写
ascii_composer/switch_key:
Caps_Lock: commit_code
Shift_L: commit_code # 左Shift 关闭noop
Shift_R: commit_code # 右Shift
Control_L: noop # 左Control
Control_R: noop # 右Control
key_binder/bindings: # 翻页(若要开启,去掉前面的#号)
- { when: composing, accept: ISO_Left_Tab, send: Shift+Left }
- { when: composing, accept: Shift+Tab, send: Shift+Left } # "Shift+Tab" 键向左选拼音分词
- { when: composing, accept: Tab, send: Shift+Right } # "tab" 键选拼音分词
#- { when: composing, accept: Tab, send: Page_Down } # "tab" 键翻页
- { when: paging, accept: minus, send: Page_Up } # "-"上一页
- { when: has_menu, accept: equal, send: Page_Down } # "="下一页
- { when: paging, accept: bracketleft, send: Page_Up } # "["上一页
- { when: has_menu, accept: bracketright, send: Page_Down } # "]"下一页
- { when: paging, accept: comma, send: Page_Up } # ","上一页
- { when: has_menu, accept: period, send: Page_Down } # "."下一页
- {accept: semicolon, send: 2, when: has_menu} # 候选2 用分号
- {accept: apostrophe, send: 3, when: has_menu} # 候选3 用单引号
# 快捷键(若要开启,去掉前面的#号)
#- {accept: "Control+a", send: Home, when: composing} # 光标移至首
#- {accept: "Control+e", send: End, when: composing} # 光标移至尾
#- {accept: "Control+Shift+1", select: .next, when: always} # 切换输入方案
#- {accept: "Control+Shift+2", toggle: ascii_mode, when: always} # 中英文切换
#- {accept: "Control+Shift+3", toggle: full_shape, when: always} # 全角/半角切换
- {accept: "Control+Shift+4", toggle: simplification, when: always} # 繁简体切换
#- {accept: "Control+Shift+5", toggle: extended_charset, when: always} # 通用/增广切换(显示生僻字)
# 回车清码(若要开启,去掉前面的#号)
#- {accept: Return, send: Escape, when: composing}