IntelliJ key repeating idea.vim

ijung picture ijung · Sep 21, 2016 · Viewed 13.2k times · Source

I just installed IntelliJ CE and IdeaVim plugin.

One small popup asked about key repeating and if I want to make it enabled. But I just clicked "no" without knowing what it is asking about clearly. But it was about the moving keys: h j k l.

I cannot hold down these keys to move my cursor continuously. I've tried to revert this setting but no luck.

Most answers are either defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false or defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool false, but no changes.

I am on OS X El Capitan 10.11.6 and IntelliJ IDEA CE 2016.2.4

Answer

ijung picture ijung · Sep 27, 2016

it turns out that I need to type this in the mac terminal:

defaults write -g ApplePressAndHoldEnabled -bool false

This is not related with any of vim, intelliJ, etc. It seems that Mac wants to support accent characters by holding the key.