I'm trying to use a hydra to dispatch among a selection of motions. See this minimal example:
(defhydra hydra/test (:color blue)
"This is a test hydra"
("n" evil-next-line))
(evil-define-motion hydra/test/motion-proxy (&rest args)
(hydra/test/body))
(global-set-key (kbd "M-RET") #'hydra/test/motion-proxy)
Unfortunately, this motion does not compose with evil operators. For example, d M-RET n does move to the next line, but does not delete any text.
How can I work around this?
evil operator key
. Unfortunately, I did not find time to add more explanations after (partly) creating the 'development notes' (i.e. the github README). The difference with which-key is that you can custom 'design' the pop-up. A difference with hydra is that hydra uses its own keymap.