-
Notifications
You must be signed in to change notification settings - Fork 157
/
default.custom.yaml
58 lines (58 loc) · 2.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
53
54
55
56
57
58
patch:
schema_list:
- schema: double_pinyin_flypy # 小鹤双拼
- schema: luna_pinyin # 全拼
# - schema: double_pinyin # 自然码
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:
Shift_L: commit_code
Shift_R: noop
Control_L: noop
Control_R: noop
Caps_Lock: commit_code
Eisu_toggle: clear
key_binder/bindings: # 设置哪些键可以翻页,需要哪个取消注释即可
# - { when: composing, accept: Tab, send: Page_Up } # Tab 翻页
- { when: composing, accept: Tab, send: Right } # Tab 移动光标向右
- { when: composing, accept: Shift+Tab, send: Page_Up }
- { 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 }
# - {accept: "Control+p", send: Up, when: composing}
# - {accept: "Control+n", send: Down, when: composing}
# - {accept: "Control+b", send: Left, when: composing}
# - {accept: "Control+f", send: Right, when: composing}
# - {accept: "Control+a", send: Home, when: composing}
# - {accept: "Control+e", send: End, when: composing}
# - {accept: "Control+d", send: Delete, when: composing}
# - {accept: "Control+k", send: "Shift+Delete", when: composing}
# - {accept: "Control+h", send: BackSpace, when: composing}
# - {accept: "Control+g", send: Escape, when: composing}
# - {accept: "Control+bracketleft", send: Escape, when: composing}
# - { when: has_menu, accept: semicolon, send: 2 }
# - { when: has_menu, accept: apostrophe, send: 3 }
# - {accept: comma, send: Page_Up, when: paging}
# - {accept: period, send: Page_Down, when: has_menu}
# - {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: "Control+Shift+exclam", select: .next, when: always}
# - {accept: "Control+Shift+at", toggle: ascii_mode, when: always}
# - {accept: "Control+Shift+numbersign", toggle: full_shape, when: always}
# - {accept: "Control+Shift+dollar", toggle: simplification, when: always}
# - {accept: "Control+Shift+percent", toggle: extended_charset, when: always}
# - {accept: "Shift+space", toggle: full_shape, when: always}
# - {accept: "Control+period", toggle: ascii_punct, when: always}