From c02c83c9e91f3e081052441330df00667abc64a8 Mon Sep 17 00:00:00 2001 From: "morse.hsiao" <6482586+imfuxiao@users.noreply.github.com> Date: Sat, 17 Jan 2026 18:03:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=AD=E6=96=87=E4=B9=9D=E9=94=AE?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE=20(#1451)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- default.yaml | 2 +- t9.schema.yaml | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/default.yaml b/default.yaml index dba89a4..575aa53 100644 --- a/default.yaml +++ b/default.yaml @@ -11,7 +11,7 @@ schema_list: # 可以直接删除或注释不需要的方案,对应的 *.schema.yaml 方案文件也可以直接删除 # 除了 t9,它依赖于 rime_ice,用九宫格别删 rime_ice.schema.yaml - schema: rime_ice # 雾凇拼音(全拼) - - schema: t9 # 九宫格(仓输入法) + - schema: t9 # 中文九键(仓输入法 & 元书输入法) - schema: double_pinyin # 自然码双拼 - schema: double_pinyin_abc # 智能 ABC 双拼 - schema: double_pinyin_mspy # 微软双拼 diff --git a/t9.schema.yaml b/t9.schema.yaml index 8533a25..974ec41 100644 --- a/t9.schema.yaml +++ b/t9.schema.yaml @@ -9,20 +9,29 @@ __include: rime_ice.schema.yaml:/ +t9: + # 是否显示 rime 中原始的预编辑文本,默认为 true + # true: 对 preedit 不做处理,显示 rime 返回的原始 preedit 值。 + # 如果想通过 lua 自己调整 preedit 的显示,可以设置为 true。 + # false: 根据候选字 comment 显示转换后的 preedit 内容。 + # 注意:请务必保证候选字 comment 有效且正确,否则可能导致预编辑文本显示异常。 + isDisplayOriginalPreedit: false + schema: schema_id: t9 - name: 仓·九宫格 - version: "2.0.0" + name: 中文九键 + version: "3.0.0" author: - Dvel - "[morse.hsiao](https://github.com/imfuxiao)" description: | - 九宫格 for 仓输入法 + 中文九键 for 仓输入法 & 元书输入法 dependencies: - melt_eng # 英文输入,作为次翻译器挂载到拼音方案 engine: processors: + - t9_processor - ascii_composer - recognizer - key_binder @@ -76,8 +85,8 @@ key_binder: - { when: has_menu, accept: 1, send: apostrophe } speller: - alphabet: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA987654321 - initials: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA987654321 + alphabet: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA9876543210 + initials: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA9876543210 algebra: # ### 超级简拼 - abbrev/^([a-z]).+$/$1/ # 超级简拼