-
Notifications
You must be signed in to change notification settings - Fork 2
/
default.custom.yaml
executable file
·50 lines (50 loc) · 3.02 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
patch:
schema_list:
- schema: luna_pinyin # 全拼
- schema: easy_en # 英文
- schema: double_pinyin # 自然码
- schema: double_pinyin_flypy # 小鹤双拼
switcher/hotkeys:
- "Control+grave" # 注意是control+`,不是command+`
switcher/save_options:
- full_shape
- ascii_punct
- simplification
- zh_hans
- emoji_suggestion
menu/page_size: 8 # 候选词个数
ascii_composer: # 设置caps、shift、control等键的作用
good_old_caps_lock: true # 若为true,caps只切换大小写
switch_key:
Caps_Lock: commit_code # Caps 键
Shift_L: commit_code # 左 Shift,切换中英文
Shift_R: commit_code # 右 Shift,切换中英文
Control_L: noop # 左 Control,屏蔽该切换键
Control_R: noop # 右 Control,屏蔽该切换键
Eisu_toggle: clear
key_binder/bindings: # 设置哪些键可以翻页,需要哪个取消注释即可
# 翻页
#- { when: has_menu, accept: Tab, send: Page_Down } # "tab" 键翻页, 和 "tab" 键分词只能二选一
- { when: composing, accept: Tab, send: Shift+Right } # "tab" 键分词
- { when: paging, accept: minus, send: Page_Up } # "-" 上一页
- { when: has_menu, accept: equal, send: Page_Down } # "=" 下一页
- { when: paging, accept: comma, send: Page_Up } # "," 上一页
- { when: has_menu, accept: period, send: Page_Down } # "." 下一页
- { when: paging, accept: bracketleft, send: Page_Up } # "[" 上一页
- { when: has_menu, accept: bracketright, send: Page_Down } # "]" 下一页
# 快捷键
#- { when: has_menu, accept: semicolon, send: 2 } # ":" (分号)选择第 2 个候选词
#- { when: has_menu, accept: apostrophe, send: 3 } # "'" (引号)选择第 3 个候选词
#- { when: composing, accept: Shift+Tab, send: Shift+Left } # "Shift+Tab" 键向左选拼音分词
#- { when: composing, accept: Control+a, send: Home } # "Control+a" 光标移至首
#- { when: composing, accept: Control+e, send: End } # "Control+e" 光标移至尾
#- { when: composing, accept: Control+g, send: Escape } # "Control+g" 清码
#- { when: composing, accept: Return, send: Escape } # "Return" 回车清码
#- { when: always, 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: composing, accept: Control+b, send: Left } # "Control+b" 移动光标
#- { when: composing, accept: Control+f, send: Right } # "Control+f" 向右选择候选词
#- { when: composing, accept: Control+h, send: BackSpace } # "Control+h" 删除输入码