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

Unable to get key repeat working on macOS #8052

Open
michael-ball opened this issue Oct 24, 2022 · 4 comments
Open

Unable to get key repeat working on macOS #8052

michael-ball opened this issue Oct 24, 2022 · 4 comments

Comments

@michael-ball
Copy link

Describe the bug
I'm using VSCodium on macOS Monterey and I've followed the mac-setup instructions but key repeat for navigation (hjkl) still doesn't work.

To Reproduce
Steps to reproduce the behavior:

  1. Run defaults write com.visualstudio.code.oss ApplePressAndHoldEnabled -bool false
  2. Log out and then log back in
  3. Start up VSCodium
  4. Navigate in a file by holding 'h', 'j', 'k' or 'l'

Expected behavior
Holding down a navigation key results in repeated movements rather than just one.

Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.24.1
  • VSCode version: VSCodium 1.72.2.22289
  • OS: macos Monterey 12.6
    .
@Janitor99
Copy link

Similar thing happened to me for some reason key repeat only worked in the vscode terminal even after I reloaded so I just enabled key repeat on everything by running this command: defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false

@zachgoll
Copy link

Here's what worked for me (emphasis on the last 2 steps):

  1. Follow these instructions - https://github.com/VSCodeVim/Vim#mac
  2. Kill the VSCode process (closing / reloading the window does not work)
  3. Start VSCode again

@asher-gh
Copy link
Contributor

asher-gh commented Feb 8, 2023

@michael-ball It didn't work for me either. This SO answer worked for me.

$ defaults write com.vscodium ApplePressAndHoldEnabled -bool false

Issued #8238 with this change in README.

@theherk
Copy link

theherk commented Apr 24, 2023

For posterity, this is related to VSCodium/vscodium#1227.

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

5 participants