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

keybindings with esc do not work (for me) #1368

Closed
adsick opened this issue Dec 25, 2021 · 2 comments · Fixed by #4939
Closed

keybindings with esc do not work (for me) #1368

adsick opened this issue Dec 25, 2021 · 2 comments · Fixed by #4939
Labels
A-keymap Area: Keymap and keybindings C-bug Category: This is a bug

Comments

@adsick
Copy link

adsick commented Dec 25, 2021

I'm started messing up with Helix config and would like to have a way of quickly saving&escaping everything, and I'd like to perform Shift-esc for that, but this doesn't work for some reason:
image
when I press Shift+esc it simply does nothing.

It could be Gnome intercepting certain key-combinations or it may be something with Alacritty.
Can anyone test this on your system? I've found that C-S-esc doesn't work either.

OS: Fedora 35

@adsick adsick added the C-bug Category: This is a bug label Dec 25, 2021
@kirawi kirawi added the A-keymap Area: Keymap and keybindings label Dec 25, 2021
@NNBnh
Copy link
Contributor

NNBnh commented Dec 25, 2021

Similar to #1369, this is a limitation of the terminal. Try showkey -a and press Esc and Shift+Esc, they can't be differentiated and both produce this keycode:

$ showkey -a

Press any keys - Ctrl-D will terminate this program

^[ 	27 0033 0x1b
^[ 	27 0033 0x1b

Again ,unless Helix support Kitty terminal's Keyboard handling protocol, there is nothing we can do to fix this.

@adsick
Copy link
Author

adsick commented Dec 25, 2021

Yeah, I see. It means the better to input is listening to keyboard events like 'KeyPressed(scancode)' and 'KeyReleased(scancode)', can we do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-keymap Area: Keymap and keybindings C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants