Skip to content

Commit

Permalink
feat: 地球拼音适配
Browse files Browse the repository at this point in the history
地球拼音同步薄荷拼音配置
  • Loading branch information
Mintimate committed Jan 30, 2024
1 parent 92092d9 commit ee57661
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
2 changes: 0 additions & 2 deletions rime_mint.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ key_binder:
bindings:
- {accept: "Control+Shift+E", toggle: emoji_suggestion, when: always}
- {accept: "Control+Shift+1", toggle: transcription, when: has_menu}
- {accept: bracketleft, send: Page_Up, when: paging} # 使用`[`进行向上翻页(第一页时候无效)
- {accept: bracketright, send: Page_Down, when: has_menu} # 使用`]`进行向下翻页
- {accept: minus, send: Page_Up, when: paging} # 使用`-`进行向上翻页(第一页时候无效)
- {accept: equal, send: Page_Down, when: has_menu} # 使用`=`进行向下翻页

Expand Down
17 changes: 8 additions & 9 deletions terra_pinyin.custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,22 @@ patch:
states: [ "😣️","😁️"]
- name: full_shape
states: [ 半角, 全角 ]
- name: simplification
reset: 1
states: [ 繁体, 简体 ]
- name: transcription
reset: 0
states: [ 简体 , 繁体 ]
- name: ascii_punct
states: [ 。,, ., ]

key_binder:
bindings:
- {accept: "Control+Shift+E", toggle: emoji_suggestion, when: always}
- {accept: "Control+Shift+1", toggle: simplification, when: has_menu}
- {accept: bracketleft, send: Page_Up, when: paging} # 使用`[`进行向上翻页(第一页时候无效)
- {accept: bracketright, send: Page_Down, when: has_menu} # 使用`]`进行向下翻页
- {accept: "Control+Shift+1", toggle: transcription, when: has_menu}
- {accept: minus, send: Page_Up, when: paging} # 使用`-`进行向上翻页(第一页时候无效)
- {accept: equal, send: Page_Down, when: has_menu} # 使用`=`进行向下翻页

engine:
processors:
- lua_processor@select_character # 以词定字
- ascii_composer
- recognizer
- key_binder
Expand Down Expand Up @@ -71,8 +70,8 @@ patch:
- script_translator
filters:
- simplifier@emoji_suggestion
- simplifier@simplification
- simplifier
- simplifier@transcription_cc
- lua_filter@reduce_english_filter # 降低部分英语单词在候选项的位置
- uniquifier

Expand Down Expand Up @@ -111,8 +110,8 @@ patch:
yan, yen]

# 简繁切换
simplification:
option_name: simplification
transcription_cc:
option_name: transcription
opencc_config: s2t.json # s2t.json | s2hk.json | s2tw.json | s2twp.json
tips: none # 转换提示: all 都显示 | char 仅单字显示 | none 不显示。
excluded_types: [ reverse_lookup ] # 不转换反查(两分拼字)的内容
Expand Down

0 comments on commit ee57661

Please sign in to comment.