How would you bind the useless œ (or 2-square) key from azerty keywords to enter ` (backtick, backquote, or however you want to call the symbol needed for code blocks in markdown) ?
My problems are :
- I am not sure know how to express this key as a (kbd ...) form
- I don't know how to express "insert this char".
This does NOT work :
(global-set-key (kbd "œ") (lambda () (insert "`")))
(global-set-key (kbd "œ") '(lambda () (insert "`")))
(global-set-key (kbd "œ") '(insert "`")))