default.yaml 是默认设置,主要控制快捷键、按键上屏等等。

    1. # default.custom.yaml
    2. # encoding: utf-8
    3. patch:
    4. switcher:
    5. caption: 〔方案选单〕
    6. hotkeys:
    7. - Control+grave
    8. # 候选词 5 个
    9. menu:
    10. page_size: 5
    11. schema_list:
    12. - schema: luna_pinyin_simp # 朙月拼音·简化字,可以按 ctrl+` 选择临时启用正體中文
    13. - schema: luna_pinyin_fluency # 语句流
    14. - schema: double_pinyin_flypy # 小鶴雙拼
    15. #- schema: wubi_pinyin # 五笔拼音混合輸入
    16. - schema: wubi86 # 五笔86
    17. - schema: luna_pinyin_tw # 朙月拼音·臺灣正體,可以按 ctrl+` 選擇臨時啓用简体中文
    18. ascii_composer:
    19. good_old_caps_lock: true
    20. switch_key:
    21. Shift_L: commit_code
    22. Shift_R: commit_code
    23. Control_L: noop
    24. Control_R: noop
    25. Caps_Lock: noop
    26. Eisu_toggle: clear
    27. # 默认标点符号
    28. # (如果不灵,则 把 luna_pinyin_simp.custom.yaml 里的 punctuator 部分注释掉 )
    29. punctuator:
    30. half_shape:
    31. # 列出和 英文标点 不同的 标点 (即打中文时需要 "特别改" 的标点)
    32. # 常用标点: 冒号 分号 顿号 名字分词号 逗号 句号 问号 感叹号 钱号 破折号 省略号
    33. # 成对标点: 双引号 单引号 书名号 括号
    34. # 常用标点
    35. ':' : ':'
    36. ';' : ';'
    37. '\' : ''
    38. '/' : '/'
    39. '|' : '·'
    40. ',' : ''
    41. '.' : ''
    42. '?' : ''
    43. '!' : ''
    44. '$' : ''
    45. '_' : '——'
    46. '^' : '……'
    47. # 成对标点
    48. '''' : { pair: [ '', '' ] }
    49. '"' : { pair: [ '“', '”' ] }
    50. '<' : '《'
    51. '>' : '》'
    52. '[' : '【'
    53. ']' : '】'
    54. #'(' : '('
    55. #')' : ')'
    56. # 其他标点样式参考。用它们替换上面的配置即可
    57. # 更多参见 ori_default.yaml
    58. # '<' : [ 《, 〈, «, ‹ ]
    59. # '>' : [ 》, 〉, », › ]
    60. # '''' : { pair: [ '‘', '’' ] }
    61. # '"' : { pair: [ '', '' ] }
    62. # '/': ['/', '÷']
    63. # '\' : [ 、, '\', \ ]
    64. # '|' : [ ·, '|', |, '§', '¦' ]
    65. # '~' : [ '~', ~ ]
    66. # '%' : [ '%', %, '°', '' ]
    67. # '$' : [ ¥, '$', '', '£', '¥', '¢', '¤' ]
    68. # '*' : [ '*', *, ·, ・, ×, ※, ❂ ]
    69. # '[' : [ 「, 【, 〔, [ ]
    70. # ']' : [ 」, 】, 〕, ] ]
    71. # '{' : [ 『, 〖, { ]
    72. # '}' : [ 』, 〗, } ]
    73. key_binder:
    74. bindings:
    75. #
    76. # 快捷键,更多参见 ori_default.yaml
    77. #
    78. - { when: always, accept: Shift+space, toggle: full_shape } # Shift+space 切换全角/半角
    79. - { when: has_menu, accept: minus, send: Page_Up }
    80. - { when: has_menu, accept: equal, send: Page_Down }
    81. #
    82. # paging
    83. #
    84. # - { when: has_menu, accept: comma, send: Page_Up }
    85. # - { when: has_menu, accept: period, send: Page_Down }
    86. #
    87. # more technical binding
    88. #
    89. # Emacs style
    90. # - { when: composing, accept: Control+p, send: Up }
    91. # - { when: composing, accept: Control+n, send: Down }
    92. # - { when: composing, accept: Control+b, send: Left }
    93. # - { when: composing, accept: Control+f, send: Right }
    94. # - { when: composing, accept: Control+a, send: Home }
    95. # - { when: composing, accept: Control+e, send: End }
    96. # - { when: composing, accept: Control+d, send: Delete }
    97. # - { when: composing, accept: Control+k, send: Shift+Delete }
    98. # - { when: composing, accept: Control+h, send: BackSpace }
    99. # - { when: composing, accept: Control+g, send: Escape }
    100. # - { when: composing, accept: Control+bracketleft, send: Escape }
    101. # - { when: composing, accept: Alt+v, send: Page_Up }
    102. # - { when: composing, accept: Control+v, send: Page_Down }
    103. # paging keys
    104. # - { when: composing, accept: ISO_Left_Tab, send: Page_Up }
    105. # - { when: composing, accept: Shift+Tab, send: Page_Up }
    106. # - { when: composing, accept: Tab, send: Page_Down }
    107. # - { when: has_menu, accept: minus, send: Page_Up }
    108. # - { when: has_menu, accept: equal, send: Page_Down }
    109. # - { when: paging, accept: comma, send: Page_Up }
    110. # - { when: has_menu, accept: period, send: Page_Down }
    111. # hotkey switch
    112. # - { when: always, accept: Control+Shift+1, select: .next }
    113. # - { when: always, accept: Control+Shift+2, toggle: ascii_mode }
    114. # - { when: always, accept: Control+Shift+3, toggle: full_shape }
    115. # - { when: always, accept: Control+Shift+4, toggle: simplification }
    116. # - { when: always, accept: Control+Shift+5, toggle: extended_charset }
    117. # - { when: always, accept: Control+Shift+exclam, select: .next }
    118. # - { when: always, accept: Control+Shift+at, toggle: ascii_mode }
    119. # - { when: always, accept: Control+Shift+numbersign, toggle: full_shape }
    120. # - { when: always, accept: Control+Shift+dollar, toggle: simplification }
    121. # - { when: always, accept: Control+Shift+percent, toggle: extended_charset }
    122. # - { when: always, accept: Shift+space, toggle: full_shape }
    123. # - { when: always, accept: Control+period, toggle: ascii_punct }