Say I there's a bunch of keybindings under the C-c x prefix already defined, e.g. C-c x s, C-c x f etc. Now I want to also have the same bindings under <leader> x s/f/etc. Is it possible to say something like (evil-leader/set-keys-from-prefix "x" "C-c x") (assuming the C-c x bindings are already loaded) instead of hardcoding individual (evil-leader/set-key "x s" #'do-the-x-s-thing "f" #'do-the-x-f-thing …)?
Say I there's a bunch of keybindings under the
C-c xprefix already defined, e.g.C-c x s,C-c x fetc. Now I want to also have the same bindings under<leader> x s/f/etc. Is it possible to say something like(evil-leader/set-keys-from-prefix "x" "C-c x")(assuming theC-c xbindings are already loaded) instead of hardcoding individual(evil-leader/set-key "x s" #'do-the-x-s-thing "f" #'do-the-x-f-thing …)?