-->

Pycharm with IdeaVim occasionally makes the keyboa

2020-05-11 05:49发布

问题:

Every so often when using PyCharm Community Edition with IdeaVim in Ubuntu 13.10, the keyboard stops accepting input and I have to restart the IDE. The cursor still moves when I click different text areas, but I can't type anything even after pressing escape multiple times. The keyboard works fine outside of the IDE, so I suspect it is an issue with either my use of IdeaVim or IdeaVim itself.

Is there anything I can do to prevent this from happening?

回答1:

You can do killall -9 ibus-x11 as described in the issue given by Games Brainiac. I just wanted to note that you don't need to restart the IDE, as it should continue to work again... which is nice, undo-history is preserved etc. :)



回答2:

This is very likely a bug. Please vote for this issue -> http://youtrack.jetbrains.com/issue/VIM-759



回答3:

I have the same problems, i reported it and still do not know of a fix for it. I noticed there are a lot of reported issues like this but i now tried to follow this bug's suggestions:

https://youtrack.jetbrains.com/issue/IDEA-78860

"Alternatively, you can turn off IBus at System Settings | Language Support | Keyboard input method."

After I done this and a system restart, i never had the problem again.



回答4:

Either upgrade IBus to version 1.5.11 or add export IBUS_ENABLE_SYNC_MODE=1 to your ~/.profile, then restart a session.

https://youtrack.jetbrains.com/issue/IDEA-78860