When I started C language years ago, I became a Vim editor developer. Since then, for all my backend developments, I have been faithful to Vim.
On OSX, when you use the combination IntelliJ and IdeaVim it can happen that the keys you hold does not repeat themselves. For instance, when you are used to navigate in your code by holding the
b or the
w key to move in one line of code you feel quickly unproductive with this limitation.
To solve this issue IdeaVim team advises to change globally the
ApplePressAndHoldEnable key value to false (cf. this IdeaVim code)
defaults write -globalDomain ApplePressAndHoldEnable -bool false
This change fix the do not repeat key issue but impact your whole system. The problem can be fixed by changing the
ApplePressAndHoldEnable key only in the Jetbrains IntelliJ domain
defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool 0
To be sure that your command has been accepted, the defaults read should return
defaults read com.jetbrains.intellij ApplePressAndHoldEnabled 0
You have to restart IntelliJ IDEA to let it gets this change.
If you have any doubts, you can verify that the JetBrains IntelliJ domain is still
defaults domains | tr ',' '\n' | grep jetbrains