help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MacOSx (10.15) and remap caps lock to hyper


From: Gregory Heytings
Subject: Re: MacOSx (10.15) and remap caps lock to hyper
Date: Sun, 21 Mar 2021 11:18:21 +0000



but I would like to swap control with capslock


You can do this in macOS preferences, in the keyboard item.


And then map capslock to hyper.


You mean, map the resulting caps lock, that is, the key labeled "Ctrl", to "hyper"? It seems that, if you map both the caps lock and the control keys to "control" in the macOS preferences, and if you add

(setq mac-right-control-modifier 'control)
(setq mac-command-modifier 'meta)
(setq mac-option-modifier 'super)
(setq mac-control-modifier 'hyper)

to your init file, you'll have what you want.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]