Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何更换拆字输入键「..」 #4

Open
aaron2wh opened this issue Sep 11, 2021 · 5 comments
Open

如何更换拆字输入键「..」 #4

aaron2wh opened this issue Sep 11, 2021 · 5 comments

Comments

@aaron2wh
Copy link

目前是按照输入「..」来拆字输入,这个和我的翻页键冲突了,导致无法翻页,请问我可以如何更改拆字功能键。万一不行,不使用拆字功能也可以的。「,。」用来上下翻页对我来说比较重要。

@aaron2wh aaron2wh changed the title 如何更换拆字输入 如何更换拆字输入键「.. Sep 11, 2021
@aaron2wh aaron2wh changed the title 如何更换拆字输入键「.. 如何更换拆字输入键「..」 Sep 11, 2021
@mutoe
Copy link
Owner

mutoe commented Sep 12, 2021

把这里两行send分别改成翻页就行,参考上面两行的写法

- { when: has_menu, accept: comma, send: comma } # 禁用前翻页键 "."
- { when: has_menu, accept: period, send: period } # 禁用后翻页键 ","

@aaron2wh
Copy link
Author

可是這樣是否會不能拆字輸入了。比如可以改爲按照國際慣例大寫U來拆字輸入

@mutoe
Copy link
Owner

mutoe commented Sep 12, 2021

这个的话要改码表了,替换 zrm2000.dict.yaml 文件中所有的 ..,,U, 不知道效果好不好,你可以试试

@xtmu
Copy link

xtmu commented Mar 16, 2022

key_binder:
import_preset: default
bindings:
- { when: paging, accept: comma, send: Page_Up }
- { when: has_menu, accept: period, send: Page_Down }
- {accept: "Control+u", send: period, when: composing} # ctrl+u 代替 . 拆字

@xtmu
Copy link

xtmu commented Mar 16, 2022

上面的补丁可以保留逗号、句号的翻页功能,拆字功能用 ctrl + u 代替

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants