Sorry for the newbie question. I have been using Aquamacs more many years. As it is not as actively developed as it used to and became increasingly buggy in the past two years I want to make the switch to Emacs.
I installed Emacs with homebrew and things are working well. However, I am struggling with setting up my keyboard. The homebrew emacs-version (emacsformacosx) has Meta on command which I like. Is there any way to set up the left option key so that it does the same as it does globally that is produce special characters e.g. ü
by typing option + ¨ + u
?
I tried
(setq ns-command-modifier 'meta)
(setq ns-option-modifier 'none)
which works for the Umlauts but takes away functions from command such as open files with command + o
.
Can anyone help?
(setq ns-alternate-modifier 'none ns-right-alternate-modifier 'meta)
, which makes the left alt/option key behave like a system default key (so that you can use special symbols, foreign language characters, and so forth), and the right alt/opion key behaves as the Meta key(set-input-method 'german)
to be able write in in this case german and still be able to use all the normal bindings. It is buffer local. To toggle it on and off after first use you can useC-\
.option + ¨ + a/o/u
for the odd times I need umlauts.