Most of the convenient OS X keybindings that GNU Emacs defines, such as
C-x h, are not all that useful to me. I'd like to make Super synonymous with Ctrl. Is there a way to easily map all key chords involving Super to the equivalent Ctrl version? Failing that, is there a way to map a key to another key that works for prefix keys as well as non-prefix keys?
I've tried using
global-set-key so far.
(keyboard-translate (kbd "s-a") (kbd "C-a")) results in a type error. I'm not sure why.
(global-set-key (kbd "s-a") (kbd "C-a")) works fine, but
(global-set-key (kbd "s-h") (kbd "C-h")) does not seem to do much of anything.
C-h vto learn more about the available options.
keyboard-translatedidn't work as intended and why using
global-set-keyand the like works differently for prefix keys. It might be more appropriate to structure those as separate questions or hunt around more, I'm not sure.
keyboard-translateas I've never used it. I have set up my own keyboard shortcuts and disabled those that I didn't find useful, so I have no need to remap anything. Sorry that I couldn't be of more assistance.