Intellij上装一个Vim插件

打开Preferences,对话框中有plugin,然后install IdeaVim插件。重启Intellij就可以了,重启后会弹出需不需要enable repeating key press, 这里选择yes。所以可以一直按着j向下走,比较方便。如果你选了no的话,可以用下列命令行恢复。


System-wide key repeat
defaults write -g ApplePressAndHoldEnabled -bool false in a terminal will enable
key repeat for every app. This can alternatively be found in the accessibility settings in OS X' preferences.


App specific key repeat
If you only want this behavior for specific JetBrains' apps, use:
Community Edition IntelliJ: - defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false

Ultimate Edition IntelliJ: defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool false

https://gist.github.com/lsd/1e1826907ab7e49c536a

记得重启啊,重启后生效。

原文:http://blog.csdn.net/hongchangfirst/article/details/79819401

作者:hongchangfirst

hongchangfirst的主页:http://blog.csdn.net/hongchangfirst


猜你喜欢

转载自blog.csdn.net/hongchangfirst/article/details/79819401
今日推荐