Is there any way to bind a command to a key combination like
The reason I ask is the following: I use the “US international” keyboard layout (on Linux), which remaps the right Alt key to AltGr (aka Level3 shift), so that I can type certain accented characters I need. But this keyboard layout also has the nice side-effect of making some new (and very convenient) key combinations available; for instance,
AltGr-t inserts þ, which I never use, so I can rebind it to something else. The problem is that
AltGr-f inserts an f, and not some useless symbol, so I can't bind that key to a command (similar issue with the characters g, h, b). I know I could use xmodmap to assign some random symbol to
AltGr-f, but is there a pure Emacs way to do that?