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.

Using composite escape key breaks menus

See original GitHub issue

When using a composite escape key like jk the respective keys cannot be used in command menus (or whatever they’re called) any more while the editor is insert mdoe.

Expected behavior: Using composite escape keys should not affect any other areas of the editor besides the area where files are being edited. Actual behavior: Using composite escape keys breaks the bound keys in command menus when in insert mode.

Steps to reproduce:

  1. Configure keybindings.json:
// Place your key bindings in this file to override the defaults
[
  {
    "command": "vscode-neovim.compositeEscape1",
    "key": "j",
    "when": "neovim.mode == insert",
    "args": "j"
  },
  {
      "command": "vscode-neovim.compositeEscape2",
      "key": "k",
      "when": "neovim.mode == insert",
      "args": "k"
  }
]
  1. Enter insert mode in any document
  2. Press Ctrl-P to open the command menu
  3. Try to use j and k

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
David-Elsecommented, Aug 23, 2020
1reaction
t-animalcommented, Jul 1, 2020

Right. This is my config:

  {
    "command": "vscode-neovim.compositeEscape1",
    "key": "j",
    "when": "neovim.mode == insert && editorTextFocus",
    "args": "j"
  },
  {
    "command": "vscode-neovim.compositeEscape2",
    "key": "k",
    "when": "neovim.mode == insert && editorTextFocus",
    "args": "k"
  }
Read more comments on GitHub >

github_iconTop Results From Across the Web

Using composite escape key breaks menus #290 - GitHub
Expected behavior: Using composite escape keys should not affect any other areas of the editor besides the area where files are being edited....
Read more >
I Broke Escape Key - Technical Support - Blizzard Forums
I broke my escape key function why trying to change my Key ... menu where the key binds are by clicking through that...
Read more >
Unity Tutorial - Input System & Cinemachine - YouTube
Make a complete rebinding system using Unity's New Input System and ... This video will show you how to implement the rebinding menu,...
Read more >
Problem with opening and closing menus with esc key - Reddit
The problem is that if I am in the main menu and I hit the esc key it open the pause menu over...
Read more >
How to Break In a Composite Bat | Better Baseball
Are you ready to break in your new composite bat? This simple and easy process will help increase your composite bats performance and...
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