Skip to content

状态变更的文字提示,应该还有后续 #554

@lotem

Description

@lotem

应该还有后续啊。

状态选项里的单选状态组现在不支持通过快捷键切换,用不上这么好的文字提示,我准备把快捷键单选功能做好。

另外,我打算把 Control+Shift+2 等快捷键
https://github.com/rime/rime-prelude/blob/master/key_bindings.yaml#L45

    - { 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+2, toggle: '@0' }
    - { when: always, accept: Control+Shift+3, toggle: '@1' }
    - { when: always, accept: Control+Shift+4, toggle: '@2' }
    - { when: always, accept: Control+Shift+5, toggle: '@3' }

指改变方案中 switches/@0 等处定义的状态。这样的配置就通用了。兼容方案自定义的状态。

@x 如果不是开关而是单项选择状态组,最好不必改动词 toggle,让他轮换到下一个状态。免得还得专门改快捷键配置。

Originally posted by @lotem in #553 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions