Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim emulation stops working after disablign ApplePressAndHoldEnabled #4365

Closed
phamtranquocviet opened this issue Dec 10, 2019 · 1 comment
Closed

Comments

@phamtranquocviet
Copy link

I executed these commands to enable my navigation keys (like, k, j, etc) to repeat when holding down:
1- "defaults delete -g ApplePressAndHoldEnabled"
2- "defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false"

Here is the out put of "defaults read com.microsoft.VSCode"
{
  ApplePressAndHoldEnabled = 0;
  NSFullScreenMenuItemEverywhere = 0;
  NSNavLastRootDirectory = "~/Google Drive";
  NSNavPanelExpandedSizeForOpenMode = "{712, 448}";
  NSTreatUnknownArgumentsAsOpen = NO;
}
After executing those commands and restarting VS Code, my vim emulation in Visual Studio Code stops working. When I press "k", it types the character "k". (note: I am not in edit mode. Vim was still working right before I executed those commands)
Out of desperation, I downloaded webstorm. Its vim emulation is doing the same thing. Typing "k" shows the character "k". I uninstalled vim plugin and reinstalled. No work. I even completely deleted VS code and reinstall. No work either.

VS Code version: 1.40.2. Vim version: 1.12.1
Please help me. Thanks (edited) 

I just downloaded 1.11.2, then use "Install from VSIX" command from "Command Palette" to install this lower version, and vim started working again, including the holding down key to repeat.

@J-Fields
Copy link
Member

There were some issues in the 1.12 deployment. Could you try 1.12.2 and confirm this is still a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants