-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.custom.yaml
52 lines (46 loc) · 2.64 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
# default.custom.yaml
# 用戶對全局設定的定製信息
# 位置: ~/Library/Rime (macOS)
# 於重新部署後生效
patch:
"menu/page_size": 6 # 候选词个数
#输入方案列表
schema_list: # 對於列表類型,現在無有辦法指定如何添加、消除或單一修改某項,於是要在定製檔中將整個列表替換!
- schema: luna_pinyin # 朙月拼音
#- schema: luna_pinyin_simp # 朙月拼音 简化字
# 中西文切換
# Mac 系統上的鼠鬚管不能區分左、右,因此只有對 Shift_L, Control_L 的設定起作用
# 已輸入編碼時按切換鍵,可以進一步設定輸入法中西文切換的形式。
# 可選的臨時切換策略有三:
# inline_ascii 在輸入法的臨時西文編輯區內輸入字母、數字、符號、空格等,回車上屏後自動復位到中文
# commit_text 已輸入的候選文字上屏並切換至西文輸入模式
# commit_code 已輸入的編碼字符上屏並切換至西文輸入模式
# 設爲 noop,屏蔽該切換鍵
# 如果要把 Caps Lock 設爲只改變字母的大小寫而不做中西文切換,可將 Caps_Lock 對應的切換方式設爲 noop
# 如果要以 Caps Lock 切換到西文模式,默認輸出小寫字母,請置 ascii_composer/good_old_caps_lock: false
# 如果要以 Caps Lock 切換到西文模式,默認輸出大寫字母,請使用以下設置:
ascii_composer/good_old_caps_lock: true
ascii_composer/switch_key:
Caps_Lock: commit_code
Shift_L: commit_code
Shift_R: noop
Control_L: commit_code
Control_R: noop
# 按鍵
"key_binder/bindings":
# 状态切换
#- { when: always, accept: Shift+space, toggle: ascii_mode } # 中英文
- { when: always, accept: Control+Shift+F, toggle: simplification } # 简繁体
#- { when: always, accept: Control+comma, toggle: full_shape } # 全半角
- { when: always, accept: Control+period, toggle: ascii_punct } # 中英文标点
# 候选翻页
# commonly used paging keys
#- { when: composing, accept: ISO_Left_Tab, send: Page_Up }
- { when: composing, accept: Shift+Tab, send: Page_Up } # tab/shift+tab
- { when: composing, accept: Tab, send: Page_Down } # tab/shift+tab
- { when: has_menu, 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 } # 中括号