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:
- Created 4 years ago
- Reactions:5
- Comments:21 (5 by maintainers)
Top GitHub Comments
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
editor:break
doesctrl+c
, but I thinkctrl+[
would be more useful. In Vim,esc
andctrl+[
are equivalent, whilectrl+c
is slightly diferent. It’s not a major problem in Vim but it definitely is a problem in a shell with Vi mode asctrl+c
has a completely different meaning in this context. Mappingesc
toctrl+c
makes it impossible to switch to the command mode in a vi mode shell with theesc
key. Is there currently any way to mapesc
toctrl+[
?