I'm bored of looking up key names for the
kbd function, is there a way to automatically insert the correct key name just by pressing the key?
So for example I want something to do this: I'm typing
magical-insert-kbd-command, press f6 and I get
(local-set-key (kbd "<f6>") |