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

ESC doesn't exit insert mode when running in a terminal #126

Open
pdcawley opened this issue Dec 3, 2022 · 2 comments
Open

ESC doesn't exit insert mode when running in a terminal #126

pdcawley opened this issue Dec 3, 2022 · 2 comments

Comments

@pdcawley
Copy link

pdcawley commented Dec 3, 2022

When running on the terminal, emacs does preprocessing of ESC, which means it doesn't escape back to command mode. I took a look at evil-mode to try and work out how it makes the escape key work, and it's doing something cunning with overriding-local-map to catch the escape before it goes through preprocessing, but I couldn't work out how to port it to boon.

@adamcstephens
Copy link

adamcstephens commented Feb 4, 2023

Ahh, I wondered if I was missing something but just tested with a GUI and everything worked correctly. Without escape handling this makes boon somewhat painful to use in a terminal.

@glasswings
Copy link

Workaround: use M-x customize to set boon-quit-key to something that your terminal generates and Emacs understands. I'm trying C-<return>

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

No branches or pull requests

3 participants