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?
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. :)