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

feat(editor): Allow Ctrl-[ to function as Escape #7519

Conversation

harritaylor
Copy link

Issue: #6551

@pascalkuthe
Copy link
Member

Its on purpose that these do not always act the same and sglukd be covered by keymaps not by patching krycodes: #6551 (comment)

@harritaylor
Copy link
Author

@pascalkuthe Sure, I understand - thanks for the reply. What is the recommended approach for "C-[ behaves like Esc" in this case? It is a core part of my muscle memory for terminal applications (and I'm assuming it is for a few others too).

I tried remapping in configs but there are still instances in hx where the C-[ key is sent instead and I would prefer that particular key combo to always "do what I mean". I have seen #5505 which I would be happy to play around with a solution for. I have also seen #7020 but I agree with the author that opting out of kitty protocol support should probably not be the way to go.

@pascalkuthe
Copy link
Member

Solving #5505 is the way to fix that issue but that will take quite a while and should probably be done by a maintainer/in close coordination with a maintainer. Such fundamental large changes are hard to coordinate otherwise

@harritaylor
Copy link
Author

@pascalkuthe Sure. Either way I'd like to contribute - anything tangentially related I can work on as a "good first issue"?

@pascalkuthe
Copy link
Member

pascalkuthe commented Jul 3, 2023

The following could be good things to work on:

@harritaylor
Copy link
Author

@pascalkuthe great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants