Android Studio key repeat

2.3k views Asked by At

The latest Android Studio update seems to have changed the key repeat behavior for letters. For example, I cannot hold down i and have the character repeated. Instead, it wants to pop up a suggestion to insert a foreign language character. This is a major hindrance because I use the IdeaVIM keyboard scheme, and need to be able to hold down hjkl characters for moving the cursor more than one character. As it is, I have to tap the key repeatedly. I have looked around to find the preference to disable this character, but am unable to fish it out.

Any help would be greatly appreciated.

2

There are 2 answers

1
Jason Peng On BEST ANSWER

I have the same problem. Got fixed after reinstall latest android studio and ideavim without import previous settings. But I think the main reason is OSX, you can disable the pop up by enter this command:

defaults write -g ApplePressAndHoldEnabled -bool false

Ref: http://lifehacker.com/5826055/make-your-keyboard-keys-repeat-properly-when-held-down-in-mac-os-x-lion

1
ejoubaud On

If you only want to enable it for Android Studio and not globally, use:

defaults write com.google.android.studio ApplePressAndHoldEnabled -bool false

NB: You need to exit and restart Android Studio to apply the change.