This commit is contained in:
Dvel 2023-02-09 02:06:20 +08:00
parent c2785b3855
commit b66df47d1c
4 changed files with 27 additions and 30 deletions

View File

@ -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

View File

@ -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 # 以词定字

View File

@ -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 # 以词定字

View File

@ -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