default.custom.yaml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. patch:
  2. schema_list:
  3. - schema: rime_frost # 白霜拼音(全拼)
  4. # 菜单
  5. menu:
  6. page_size: 8 # 候选词个数
  7. # 方案选单相关
  8. switcher:
  9. caption: 「方案选单」
  10. hotkeys:
  11. - F4
  12. - Control+grave
  13. - Control+Shift+grave
  14. # - Alt+grave
  15. save_options: # 开关记忆(方案中的 switches),从方案选单(而非快捷键)切换时会记住的选项,需要记忆的开关不能设定 reset
  16. - ascii_punct
  17. - traditionalization
  18. - emoji
  19. - full_shape
  20. - search_single_char
  21. fold_options: false # 呼出时是否折叠,多方案时建议折叠 true ,一个方案建议展开 false
  22. abbreviate_options: true # 折叠时是否缩写选项
  23. option_list_separator: " / " # 折叠时的选项分隔符
  24. key_binder:
  25. # Lua 配置: 以词定字(上屏当前词句的第一个或最后一个字),和中括号翻页有冲突
  26. select_first_character: "bracketleft" # 左中括号 [
  27. select_last_character: "bracketright" # 右中括号 ]
  28. reduce_freq_cand: "Control+j" # 匹配当前输入码后隐藏指定的候选字词 或候选词条放到第四候选位置
  29. drop_cand: "Control+d" # 强制删词, 无视输入的编码
  30. bindings:
  31. # Tab / Shift+Tab 切换光标至下/上一个拼音
  32. - { when: composing, accept: Shift+Tab, send: Shift+Left }
  33. - { when: composing, accept: Tab, send: Shift+Right }
  34. # Option/Alt + ←/→ 切换光标至下/上一个拼音
  35. - { when: composing, accept: Alt+Left, send: Shift+Left }
  36. - { when: composing, accept: Alt+Right, send: Shift+Right }
  37. # 翻页 - =
  38. - { when: has_menu, accept: minus, send: Page_Up }
  39. - { when: has_menu, accept: equal, send: Page_Down }
  40. - { when: always, toggle: ascii_punct, accept: Control+Shift+3 } # 切换中英标点
  41. - { when: always, toggle: ascii_punct, accept: Control+Shift+numbersign } # 切换中英标点
  42. - { when: always, toggle: traditionalization, accept: Control+Shift+4 } # 切换简繁
  43. - {
  44. when: always,
  45. toggle: traditionalization,
  46. accept: Control+Shift+dollar,
  47. } # 切换简繁
  48. - { when: composing, accept: Control+k, send: Shift+Delete }
  49. - { accept: KP_0, send: 0, when: composing }
  50. - { accept: KP_1, send: 1, when: composing }
  51. - { accept: KP_2, send: 2, when: composing }
  52. - { accept: KP_3, send: 3, when: composing }
  53. - { accept: KP_4, send: 4, when: composing }
  54. - { accept: KP_5, send: 5, when: composing }
  55. - { accept: KP_6, send: 6, when: composing }
  56. - { accept: KP_7, send: 7, when: composing }
  57. - { accept: KP_8, send: 8, when: composing }
  58. - { accept: KP_9, send: 9, when: composing }
  59. - { accept: KP_Decimal, send: period, when: composing }