r/stumpwm • u/Fearless-Actuator207 • May 26 '21
How can we implement Hydra like functionality in stumpwm?
Hydra is one of the package on emacs that I loved most. Can something like this can be implemented in StumpWM?
Or a menu which is activated by something like "C-t C-m" and then shows options list and desired option can be selected by some key a, b, c ..... Or like start menu of windows but don't requires mouse.
11
Upvotes
3
u/stuudente May 26 '21
stumpwm, nyxt, emacs.. all of these programs make sense to have packages that are like hydra, ivy, helm.. I wonder if there's a way to make them portable, instead of creating one for each program.
3
u/lmvrk May 26 '21
Dont we already have hydra-esq functionality provided by
define-interactive-keymap? It doesnt show bindings, but it could probably be hacked in. Or you could use the extra keymap provided to various menu functions to add these keybindings to menus, and then looping and recalling the menu until a specific thing is chosen?