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

不支持 evil-insert-state 下的 C-o 命令 #42

Open
et2010 opened this issue Jun 26, 2018 · 3 comments
Open

不支持 evil-insert-state 下的 C-o 命令 #42

et2010 opened this issue Jun 26, 2018 · 3 comments

Comments

@et2010
Copy link

et2010 commented Jun 26, 2018

当采用 vim style 编辑时,有时会希望在 insert-state 下暂时运行一下 normal 的命令,这个功能绑定在 C-o,但是启用了 fcitx.el 后,按下 C-o 切换到 normal-state 后会立马切换回 insert-state,这应该是一个 bug,因为 fcitx 应该切换输入法,而不改变 evil state。

@cute-jumper
Copy link
Owner

你是说 evil-execute-in-normal-state?我刚刚绑定了一下,似乎没有问题。给点详细的重现步骤?

@et2010
Copy link
Author

et2010 commented Jun 27, 2018

我用的是 fcitx-remote for Windows,win+space版本,先进入到 insert state,然后切换为中文输入法。之后按 C-o 执行 evil-execute-in-normal-state,会切换为 Normal state,但是这个状态只停留了1s不到,立即又切回 insert state。如果按 C-o 之前已经切换为英文输入则没有这个问题

@cute-jumper
Copy link
Owner

cute-jumper commented Jul 7, 2018

不负责任猜测 因为某种原因 fcitx-remote 给 win 发的按键被 Emacs 捕捉了,然后 normal state 就自动退出了。有类似的 log 在 Messages 吗?(感觉还是 fcitx-remote-for-windows 的问题。不知道有没有更好的实现办法)

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