I would like to write a command that defines key bindings for me, so that I can feed in key
y (for example) and have it define key bindings for
I'm trying to
concat the command argument into a string, but it gives me the error
Invalid modifier in string.
(defun my/keypress-definer (keypress) (interactive) (concat "\C-" keypress)) (my/keypress-definer "a")
Is there any way to achieve this?