Convert hydra to regular bindings

1 · Shane Mulligan · Sept. 20, 2019, noon
The problem: which-key doesn’t work with hydra I had made a bunch of hydras which I would simply use as basic menu systems This is a bit of an anti-pattern. Hydras should only be used for creating temporary modes. The solution: create a macro which converts the hydras into regular bindings Prerequisites 1 2 3 4 5 6 7 (defun sed (command stdin) "wrapper around sed" (interactive) (setq stdin (str stdin)) (setq command (concat "sed '" (str command) "'")) (sh-notty command stdin) ) The aim Wrap a...