ergoemacs / ergoemacs-mode

ergoemacs-mode
ergoemacs.github.io/
GNU General Public License v3.0
293 stars 35 forks source link

Remap "Menu" key #482

Closed spacekookie closed 3 years ago

spacekookie commented 5 years ago

It would be pretty cool if it was possible to not use "Menu" as a modifier key but something else like "Hyper_L". I've been trying to get this to work with setxkbmap/xmodmap but because I want the "Menu"-esque key to be on CapsLock, which also acts as Escape when I short-press it, it will insert control characters every time I press CapsLock (aka escape).

If I could tell ergo-emacs that "Menu" should be "Hyper_L" then I wouldn't have this problem. My current work-around is to make CapsLock ctrl and escape, move Menu to ctrl and have try to break my Ctrl-key muscle memory, which is also not great :grimacing:

mattfidler commented 3 years ago

You can do this with a key translation map in emacs, though I am unsure what the hyper_l key is. For now, I will assume that you took care of this