boon
boon copied to clipboard
ESC doesn't exit insert mode when running in a terminal
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.
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.