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.

5bc8e0b (on canary) breaks <esc> key

See original GitHub issue
  • I am on the latest Hyper.app version

  • I have searched the issues of this repo and believe that this is not a duplicate

  • OS version and name: Linux

  • Hyper.app version: 6f96d9f (latest commit on canary branch)

  • Link of a Gist with the contents of your .hyper.js: N/A

  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A

  • The issue is reproducible in vanilla Hyper.app: yes

Issue

Commit 5bc8e0b introduces in each of the app/keymaps files the properties editor:search and editor:search-close. The value for the latter, "esc", is unfortunate because it’s global, is an extremely relevant key for vim users, and also factors into terminal shortcuts (at least when using bash).

Might it be possible to enable editor:search-close only when actually searching? This would keep it from interfering when not using the search feature. Alternatively, might a different key sequence be used (such as shift+esc)?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:21 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
admositycommented, Sep 18, 2020

This comment got my esc key working again on the canary channel:

https://github.com/vercel/hyper/issues/3217#issuecomment-646773120

Adding this to the config

  keymaps: {
    'editor:break': 'esc',
  },
0reactions
egstcommented, Jan 19, 2022

editor:break does ctrl+c, but I think ctrl+[ would be more useful. In Vim, esc and ctrl+[ are equivalent, while ctrl+c is slightly diferent. It’s not a major problem in Vim but it definitely is a problem in a shell with Vi mode as ctrl+c has a completely different meaning in this context. Mapping esc to ctrl+c makes it impossible to switch to the command mode in a vi mode shell with the esc key. Is there currently any way to map esc to ctrl+[?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Escape key not working | MacOS Monterrey - Apple Discussions
I am not able to use my Escape (Esc) key after upgrading to MacOS Monterrey 12.0.1. I am confident that it is not...
Read more >
Mac Os || How to fix ESC key not working - YouTube
key tester site:https://www.keyboardtester.com/tester.
Read more >
How to fix Escape key not working on Mac - Setapp
Learn how to troubleshoot your Mac keyboard and solve the Escape button not working issue effortlessly.
Read more >
Escape key Broken, page 1 - Forum - GOG.com
Unfortunately the escape key is gone and I cannot exit some games that require that key. How do I remap the keyboard?
Read more >
Macbook Air M1 esc key not registering - Reddit
My escape key doesn't have any affect on my mac. ... Dude ,same happened with me today , It works after rebooting ....
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