[Github-comments] [geany/geany] Esc to Exit (#1124)

Colomban Wendling notifications at xxxxx
Thu Jul 7 11:53:44 UTC 2016


> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160707/6dc92b8c/attachment.html>


More information about the Github-comments mailing list