Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IdeaVim plugin in pycharm doesn't support continuous scroll for long press?

The IdeaVim plugin in pycharm doesn't support continuous scroll as nor Vim or MacVim does. When you press "j" to move or any other key to move, it acts just once, instead of scrolling continuously when long pressed. Any suggestions ?

like image 572
curiousMonkey Avatar asked Feb 22 '15 17:02

curiousMonkey


1 Answers

Yes, it's an OS problem; key repeat works fine in IdeaVIM if the OS is configured to support it.

There's a thread discussing a change in Mac OS X Lion (10.7) that disabled key repeat, along with workarounds to turn it back on. You can either re-enable key repeat globally or per-application; the thread contains commands for both.

To set it globally:

defaults write -g ApplePressAndHoldEnabled -bool false

To set it for IntelliJ Community Edition:

defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false

IntelliJ Ultimate Edition:

defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool false

AppCode:

defaults write com.jetbrains.appcode ApplePressAndHoldEnabled -bool false

PhPStorm:

defaults write com.jetbrains.phpstorm ApplePressAndHoldEnabled -bool false

Android Studio:

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

PyCharm:

defaults write com.jetbrains.pycharm ApplePressAndHoldEnabled -bool false
like image 127
jbyler Avatar answered Oct 01 '22 04:10

jbyler