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

快捷短语有可能实现指定光标位置吗 #72

Open
calmwaves111 opened this issue Jul 15, 2024 · 2 comments
Open

快捷短语有可能实现指定光标位置吗 #72

calmwaves111 opened this issue Jul 15, 2024 · 2 comments

Comments

@calmwaves111
Copy link

image

就比如这个,我想在打字的时候,输入之后自动把光标移动到括号()中间,不知道能不能用一个类似这样的占位符,或者允许我模拟一下按左箭头?

我就这么问一下,要是实在实现不了的话,那直接关掉这个 issue 也就罢啦!

@boomker
Copy link
Owner

boomker commented Jul 15, 2024

理论上是可以做到的,目前方案里符号配对,就有光标左移的功能,但是仅限 macOS。
这类功能,也可以用第三方 snippet 代码片段应用实现,比如:
image

这个是 macOS 上快捷启动应用Raycast 自带的功能

@calmwaves111
Copy link
Author

calmwaves111 commented Jul 15, 2024

emmm我是win10(苦笑

其实也想过用其他的snippet应用,但是和小狼毫输入法的兼容一直不怎么好,因为小狼毫打字的时候会先打出一个空格,如果把inline_preedit改成false又会有其他奇奇怪怪的冲突,而且我也不习惯

所以希望小狼毫自己能有这个功能

大佬您有时间可以看看,没时间就搁置吧

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