Mac系统下visual studio code 使用 vim插件 hjkl键不能连续移动光标?
http://blog.fireyang.com/2018/01/16/mac-visual-studio-code-vim-hold-key-bug/
解决
这个问题是 mac 系统本身的问题, 需要在终端配置即可:
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false # For VS Code 一般这个是好使的
defaults write com.microsoft.VSCodeInsiders ApplePressAndHoldEnabled -bool false # For VS Code Insider
mac下的VScode vim 插件, 常按hjkl键无法持续移动光标
解决
终端下执行命令:
1 |
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false |
复原:
1 |
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool true |