abo-abo / hydra

make Emacs bindings that stick around
1.84k stars 112 forks source link

hydra exit hook limitation #384

Open bgwines opened 4 years ago

bgwines commented 4 years ago

I've got a hydra (https://melpa.org/#/symbol-navigation-hydra), and it needs to be amaranth so it can do some cleanup upon exit (https://github.com/bgwines/symbol-navigation-hydra/blob/e137c86d530c07438a6e42a37e054c40ab8a05fe/symbol-navigation-hydra.el#L459-L463). As a user of this package, I think it'd be dandy if I could exit the hydra via C-g (canonically bound to doom/escape / keyboard-quit / ...) in addition to via the heads that actually exit the hydra (e.g. q, in my case).

This could be accomplished in a few ways:

what are your thoughts on this use-case? Thanks so much!

bgwines commented 4 years ago

P.S. thanks for developing this sick package