From b66df47d1ca983341fd4b4a31c3c95ee4b3a4369 Mon Sep 17 00:00:00 2001 From: Dvel Date: Thu, 9 Feb 2023 02:06:20 +0800 Subject: [PATCH] docs --- default.custom.yaml | 29 ++++++++++++++++------------- double_pinyin.schema.yaml | 8 +++----- double_pinyin_flypy.schema.yaml | 8 +++----- rime_ice.schema.yaml | 12 +++++------- 4 files changed, 27 insertions(+), 30 deletions(-) diff --git a/default.custom.yaml b/default.custom.yaml index a53d5db..a188d90 100644 --- a/default.custom.yaml +++ b/default.custom.yaml @@ -45,19 +45,22 @@ patch: # commit_text 上屏拼出的词句,然后切换到英文 # clear 清除未上屏内容,然后切换到英文 # noop 屏蔽快捷键,不切换中英,但不要屏蔽 CapsLock - ascii_composer/good_old_caps_lock: true # true | false - ascii_composer/switch_key: - Caps_Lock: clear # commit_code | commit_text | clear - Shift_L: noop # commit_code | commit_text | clear | noop - Shift_R: noop # commit_code | commit_text | clear | noop - Control_L: noop - Control_R: noop - Eisu_toggle: clear + ascii_composer: + good_old_caps_lock: true # true | false + switch_key: + Caps_Lock: clear # commit_code | commit_text | clear + Shift_L: noop # commit_code | commit_text | clear | noop + Shift_R: noop # commit_code | commit_text | clear | noop + Control_L: noop # commit_code | commit_text | clear | noop + Control_R: noop # commit_code | commit_text | clear | noop + Eisu_toggle: clear # 以词定字(上屏当前词组的第一个或最后一个字) key_binder/select_first_character: key_binder/select_last_character: "grave" + + # 快捷键 key_binder/bindings: # Tab/Shift+Tab 切换光标至下/上一个拼音 @@ -82,17 +85,18 @@ patch: # numbered_mode_switch: # - { when: always, accept: Control+Shift+1, select: .next } # 在最近的两个方案之间切换 - - { when: always, accept: Control+Shift+2, toggle: ascii_mode } # 切换中英标点 - # - { when: always, accept: Control+Shift+3, toggle: full_shape } # 切换全半角 + # - { when: always, accept: Control+Shift+2, toggle: ascii_mode } # 切换中英 + - { when: always, accept: Control+Shift+3, toggle: ascii_punct } # 切换中英标点 - {when: always, accept: "Control+Shift+4", toggle: traditionalization} # 切换简繁 + # - { when: always, accept: Control+Shift+5, toggle: full_shape } # 切换全半角 # emacs_editing: # - { when: composing, accept: Control+p, send: Up } # - { when: composing, accept: Control+n, send: Down } # - { when: composing, accept: Control+b, send: Left } # - { when: composing, accept: Control+f, send: Right } - - { when: composing, accept: Control+a, send: Home } # 光标跳转至行首 - - { when: composing, accept: Control+e, send: End } # 光标跳转至行尾 + # - { when: composing, accept: Control+a, send: Home } + # - { when: composing, accept: Control+e, send: End } # - { when: composing, accept: Control+d, send: Delete } # - { when: composing, accept: Control+k, send: Shift+Delete } # - { when: composing, accept: Control+h, send: BackSpace } @@ -108,7 +112,6 @@ patch: # - { when: always, accept: Control+comma, toggle: full_shape } # - { when: always, accept: Control+period, toggle: ascii_punct } # - { when: always, accept: Control+slash, toggle: traditionalization } - # - { when: always, accept: Control+backslash, toggle: extended_charset } # key_binder 按键速查 https://github.com/LEOYoon-Tsaw/Rime_collections/blob/master/Rime_description.md diff --git a/double_pinyin.schema.yaml b/double_pinyin.schema.yaml index 97dd8ad..48b5cac 100755 --- a/double_pinyin.schema.yaml +++ b/double_pinyin.schema.yaml @@ -27,9 +27,7 @@ schema: # 开关 -# reset 会导致切换方案、输入法、程序后,回到设定的选项。 -# 可以注释掉 reset,和 default 中的 switcher/save_options 选项配合以记忆开关状态。 -# 鼠须管 0.16 后,切换提示通过 states 自定义,不需要提示的可留空,如 states: [ , ] +# 鼠须管 0.16 后,快捷键切换时的提示由 states 自定义,不需要提示的可注释掉 states 那一行。 switches: - name: ascii_mode states: [ 中, A ] @@ -38,7 +36,7 @@ switches: states: [ 半角, 全角 ] reset: 0 - name: ascii_punct - states: [ 中文标点, 英文标点 ] + states: [ 。,, ., ] # 中英标点 reset: 0 - name: traditionalization states: [ 简, 繁 ] @@ -48,7 +46,7 @@ switches: reset: 1 -# 输入引擎,没注释的是自带的必要的组件 +# 输入引擎 engine: processors: - lua_processor@select_character # 以词定字 diff --git a/double_pinyin_flypy.schema.yaml b/double_pinyin_flypy.schema.yaml index ef41d92..954f05d 100755 --- a/double_pinyin_flypy.schema.yaml +++ b/double_pinyin_flypy.schema.yaml @@ -27,9 +27,7 @@ schema: # 开关 -# reset 会导致切换方案、输入法、程序后,回到设定的选项。 -# 可以注释掉 reset,和 default 中的 switcher/save_options 选项配合以记忆开关状态。 -# 鼠须管 0.16 后,切换提示通过 states 自定义,不需要提示的可留空,如 states: [ , ] +# 鼠须管 0.16 后,快捷键切换时的提示由 states 自定义,不需要提示的可注释掉 states 那一行。 switches: - name: ascii_mode states: [ 中, A ] @@ -38,7 +36,7 @@ switches: states: [ 半角, 全角 ] reset: 0 - name: ascii_punct - states: [ 中文标点, 英文标点 ] + states: [ 。,, ., ] # 中英标点 reset: 0 - name: traditionalization states: [ 简, 繁 ] @@ -48,7 +46,7 @@ switches: reset: 1 -# 输入引擎,没注释的是自带的必要的组件 +# 输入引擎 engine: processors: - lua_processor@select_character # 以词定字 diff --git a/rime_ice.schema.yaml b/rime_ice.schema.yaml index 19c0471..16da919 100755 --- a/rime_ice.schema.yaml +++ b/rime_ice.schema.yaml @@ -6,7 +6,7 @@ schema: schema_id: rime_ice name: 雾凇拼音 - version: "1.2.3" + version: "1.2.4" author: - Dvel description: | @@ -18,9 +18,7 @@ schema: # 开关 -# reset 会导致切换方案、输入法、程序后,回到设定的选项。 -# 可以注释掉 reset,和 default 中的 switcher/save_options 选项配合以记忆开关状态。 -# 鼠须管 0.16 后,切换提示通过 states 自定义,不需要提示的可留空,如 states: [ , ] +# 鼠须管 0.16 后,快捷键切换时的提示由 states 自定义,不需要提示的可注释掉 states 那一行。 switches: - name: ascii_mode states: [ 中, A ] @@ -29,7 +27,7 @@ switches: states: [ 半角, 全角 ] reset: 0 - name: ascii_punct - states: [ 中文标点, 英文标点 ] + states: [ 。,, ., ] # 中英标点 reset: 0 - name: traditionalization states: [ 简, 繁 ] @@ -39,7 +37,7 @@ switches: reset: 1 -# 输入引擎,没注释的是自带的必要的组件 +# 输入引擎 engine: processors: - lua_processor@select_character # 以词定字 @@ -87,7 +85,7 @@ date_translator: timestamp: ts # 时间戳: 1669716794 -# 长词优先,提升 count 个词语,插入到第 idx 个位置,默认 2、4。 +# 长词优先,提升 count 个词语,插入到第 idx 个位置。 # 示例:将 2 个词插入到第 4、5 个候选项,输入 jie 得到「1接 2解 3姐 4饥饿 5极恶」 long_word_filter: count: 2