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

ctrl+space 在中文状态切成英文状态时,已打出的字没有上屏 #158

Open
huo-feng-ding opened this issue Oct 15, 2024 · 4 comments

Comments

@huo-feng-ding
Copy link

您好,我使用的是windows 11操作系统,配置了按Shift键切换输入法并且将已打出的字上屏。 当在中文状态下,按Shift键可以将已打的字上屏,但是在按 ctrl+space 切换的时候没有上屏。
我配了 Control+space: commit_code 也没起作用,麻烦问一下这个能解决吗

ascii_composer/switch_key: {Caps_Lock: commit_code, Control_L: noop, Control_R: noop, Shift_L: commit_code, Shift_R: commit_code, Control+space: commit_code}
@yjnu
Copy link

yjnu commented Jan 3, 2025

目前输入法不支持,提需求到 rime 仓库,这只是一个五笔方案分享

@huo-feng-ding
Copy link
Author

这个后来在rime提了,人家大佬好像没有这方面修复的意思

@bczhc
Copy link

bczhc commented Jan 10, 2025

ctrl+space是系统用于切换输入法的键吗?如果是那也不是rime能控制的了

@yjnu
Copy link

yjnu commented Jan 10, 2025

我去 rime 那看到你提的问题了,不知会不会修复,需要内核支持,小狼毫再适配。确认他们到底适不适配,可以在librime问一问。

这个问题也很好解决的,通过 ahk 来改键。

  • yaml 配置 右shift 来完成中英切换 Shift_R: commit_code(右 shift 不容易误触)
  • ahk 的代码如下:
^Space::
{
  KeyWait "Control"
  Send "{RShift}"
}

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