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

求问如何方便根据已输入确定标点的中英文 #620

Closed
leejiaming02 opened this issue Jan 15, 2024 · 3 comments
Closed

求问如何方便根据已输入确定标点的中英文 #620

leejiaming02 opened this issue Jan 15, 2024 · 3 comments

Comments

@leejiaming02
Copy link

如下图片,第一行是想达到的效果,第二行因为1.不是连续输入的,导致后面接了中文句号
对于第二行的情况,当前做法是shift切换中英文,输入.然后切换回去,比较麻烦,求问一种比较方便的方法
感谢感谢
动画

@iDvel
Copy link
Owner

iDvel commented Jan 16, 2024

没有这项配置,可能 Lua 可以做到。

@leejiaming02
Copy link
Author

没有这项配置,可能 Lua 可以做到。

好吧,感谢您的解答…
我后面尝试改配置,把.映射成['.','。'],这样确实不会直接打错了,但是每次输入都需要选一下,反而更不便了
后面我看一下Lua吧
谢谢

@leejiaming02
Copy link
Author

可以做,基本逻辑写在这里。试过没问题。

https://gist.github.com/mirtlecn/6ee7cfcfd06412b67e62db426c1936d9#file-process-lua-L195-L223

off-topic 一下:这个功能 有 bug rime/librime#670 有人喜欢有人不喜欢:rime/librime#376

收到 谢谢 有空看一下

@iDvel iDvel closed this as completed Feb 10, 2024
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

2 participants