It would be really nice if I could define Esc as a key binding for exiting Geany, if it's pressed in the main window. Is there a way to do that? (I tried Keybindings, but pressing Esc closes the dialog that records the shortcut).
As @elextr pointed out, <kbd>Escape</kbd> is unfortunately handled specially by GTK to close the dialog -- which is nice 99% of the time until you want to select <kbd>Escape</kbd> as a keybinding. But you can manually edit the keybinding without the fancy dialog by first selecting the row and then clicking again on the *Shortcut* column (no double click as it would pop up the dialog): it should enter text editing mode on the shortcut, and there you can manually write `Escape`. Validated with <kbd>Return</kbd> and save the preferences, and you should have Quit bound to <kbd>Escape</kbd>
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1124#issuecomment-231056876