question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Press and Hold not working on Vim keymap (on MacOS)

See original GitHub issue

Describe the bug When I enable Vim keymap, long pressing a move key (j or k for instance) only moves the cursor once.

To Reproduce Steps to reproduce the behavior:

  1. Go to ‘Settings’, enable Vim keymap in Text Editor Key Map
  2. Open a request body and long press j
  3. The cursor only moves one line down

Expected behavior The cursor should keep moving down until I stop pressing the key

Screenshots

Desktop (please complete the following information):

  • OS: macOS 11.4
  • Installation Method: Download
  • App Version: 2021.3.0

Additional context I tried to run command defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool true and restart Insomnia but it did not work

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:22 (22 by maintainers)

github_iconTop GitHub Comments

2reactions
dimitropouloscommented, Jun 15, 2021

Very exciting stuff. Not only this fix, but I also love to see all the teamwork and collaboration happening here. If we do find a fix we should go back to https://github.com/codemirror/CodeMirror/issues/3678 and mention what we did (pointing back to the PR).

2reactions
MrSnixcommented, Jun 14, 2021

@MrSnix wow nice sleuthing, TIL electron can override variables like that. Let’s give it a go!

If okay then, I’d love to pick this up, I’ll make a PR to introduce this change.

Read more comments on GitHub >

github_iconTop Results From Across the Web

macos - Press and hold for accents does not work everytime
Sometimes I log in, and it works flawlessly, sometimes it doesn't work at all and just repeats the character I press for a...
Read more >
vim on mac os X function key mapping not working
I finally got my function mappings working by resorting to adding mappings like this: if has('mac') && ($TERM == 'xterm-256color' || $TERM ...
Read more >
press and hold for accents mac not working - Apple Community
press and hold for accents mac not working. Hi I can no longer access the special characters when I press and hold the...
Read more >
How to map key to change action on press and hold - Reddit
I want to create the following mapping for j/k keys: pressing j/k once is unchanged. pressing and holding j/k initially has the default...
Read more >
Holding down navigation keys (H, J, K, L) doesn't repeat them
The issue with MacVim is that I hold down the 'J' key and it only works for one row. This means I have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found