docs & 调整快捷键,新版鼠须管已支持区分左右 Shift

This commit is contained in:
Dvel 2023-02-02 14:15:40 +08:00
parent 3139b33e9d
commit 6877c3cda6
2 changed files with 42 additions and 49 deletions

View File

@ -1,5 +1,8 @@
# Rime default settings
# encoding: utf-8
#
# 小狼毫似乎不支持 Control+Shift 开头的快捷键,可自行修改成别的。
# 鼠须管在 Sublime Text、Telegram 等个别软件中也无法使用 Control+Shift+数字 的快捷键,可暂时用方案选单切换。
patch:
@ -33,17 +36,20 @@ patch:
# 按键行为
# good_old_caps_lock: Caps 切换大小写或切换中英macOS 偏好设置的优先级更高:偏好设置 - 键盘 - 输入法 - 使用“中/英”键切换“ABC”输入模式。
# 打字打到一半时按下了 Caps 或 Shift 后:
# 【good_old_caps_lock】 CapsLock 切换到大写或切换中英。
# macOS 偏好设置的优先级更高如果勾选【使用大写锁定键切换“ABC”输入法】则始终会切换输入法
#
# 切换中英:
# 不同的选项表示:打字打到一半时按下了 CapsLock、Shift、Control 后:
# commit_code 上屏原始的编码,然后切换到英文
# commit_text 上屏拼出的词句,然后切换到英文
# clear 清除输入的内容,然后切换到英文
# noop 屏蔽快捷键,啥也不干,但不要屏蔽 Caps
# clear 清除未上屏内容,然后切换到英文
# noop 屏蔽快捷键,不切换中英,但不要屏蔽 CapsLock
ascii_composer/good_old_caps_lock: true # true | false
ascii_composer/switch_key:
Caps_Lock: commit_text # commit_code | commit_text | clear
Shift_L: noop # commit_code | commit_text | clear | noop
Shift_R: noop # macOS 不会区分左右 Shift只需要设置 Shift_L
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
@ -54,10 +60,31 @@ patch:
key_binder/select_last_character: "grave"
# 快捷键
key_binder/bindings:
# 简繁切换
- {when: always, accept: "Control+Shift+4", toggle: traditionalization}
# 切换中英文标点
- {when: always, accept: "Control+Shift+3", toggle: ascii_punct}
# Tab/Shift+Tab 切换光标至下/上一个拼音
- { when: composing, accept: Shift+Tab, send: Shift+Left }
- { when: composing, accept: Tab, send: Shift+Right }
# Tab/Shift+Tab 翻页
# - { when: has_menu, accept: Shift+Tab, send: Page_Up }
# - { when: has_menu, accept: Tab, send: Page_Down }
# 翻页 - =
- { when: has_menu, accept: minus, send: Page_Up }
- { when: has_menu, accept: equal, send: Page_Down }
# 翻页 , .
# 需要额外注释掉方案中 recognizer/patterns 下的 url_2 选项(这个会覆盖掉句号的行为)
# - { when: paging, accept: comma, send: Page_Up }
# - { when: has_menu, accept: period, send: Page_Down }
# 翻页 [ ]
# - { when: paging, accept: bracketleft, send: Page_Up }
# - { when: has_menu, accept: bracketright, send: Page_Down }
# 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+4", toggle: traditionalization} # 切换简繁
# emacs_editing:
# - { when: composing, accept: Control+p, send: Up }
@ -75,46 +102,12 @@ patch:
# - { when: composing, accept: Alt+v, send: Page_Up }
# - { when: composing, accept: Control+v, send: Page_Down }
# move_by_word_with_tab: Tab/Shift+Tab 切换光标至下/上一个拼音
- { when: composing, accept: ISO_Left_Tab, send: Shift+Left }
- { when: composing, accept: Shift+Tab, send: Shift+Left }
- { when: composing, accept: Tab, send: Shift+Right }
# paging_with_minus_equal: 翻页:- =
- { when: has_menu, accept: minus, send: Page_Up }
- { when: has_menu, accept: equal, send: Page_Down }
# paging_with_comma_period: 翻页:, .
# 需要额外注释掉方案中 recognizer/patterns 下的 url_2 选项(这个会覆盖掉句号的行为)
# - { when: paging, accept: comma, send: Page_Up }
# - { when: has_menu, accept: period, send: Page_Down }
# paging_with_brackets: 翻页:[ ]
# - { when: paging, accept: bracketleft, send: Page_Up }
# - { when: has_menu, accept: bracketright, send: Page_Down }
# 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+4, toggle: simplification }
# - { when: always, accept: Control+Shift+5, toggle: extended_charset }
# - { when: always, accept: Control+Shift+exclam, select: .next }
# - { when: always, accept: Control+Shift+at, toggle: ascii_mode }
# - { when: always, accept: Control+Shift+numbersign, toggle: full_shape }
# - { when: always, accept: Control+Shift+dollar, toggle: simplification }
# - { when: always, accept: Control+Shift+percent, toggle: extended_charset }
# windows_compatible_mode_switch:
# - { when: always, accept: Shift+space, toggle: full_shape }
# - { when: always, accept: Control+period, toggle: ascii_punct }
# optimized_mode_switch:
# - { when: always, accept: Control+Shift+space, select: .next }
# - { when: always, accept: Shift+space, toggle: ascii_mode }
# - { when: always, accept: Control+comma, toggle: full_shape }
# - { when: always, accept: Control+period, toggle: ascii_punct }
# - { when: always, accept: Control+slash, toggle: simplification }
# - { when: always, accept: Control+slash, toggle: traditionalization }
# - { when: always, accept: Control+backslash, toggle: extended_charset }

View File

@ -6,7 +6,7 @@
schema:
schema_id: rime_ice
name: 雾凇拼音
version: "1.2.0"
version: "1.2.1"
author:
- Dvel
description: |
@ -22,7 +22,7 @@ schema:
# 可以注释掉 reset和 default 中的 switcher/save_options 选项配合以记忆开关状态。
switches:
- name: ascii_mode
states: [ 文, 英文 ]
states: [ , En ]
reset: 0
- name: full_shape
states: [ 半角, 全角 ]
@ -31,7 +31,7 @@ switches:
states: [ 中文标点, 英文标点 ]
reset: 0
- name: traditionalization
states: [ , 繁 ]
states: [ , 繁 ]
reset: 0
- name: emoji
states: [ 💀, 😄 ]