Reputation: 6851
I'm trying to configure my Meta-Key, such that I can input {},[], etc. in a terminal emacs (using a German keyboard). I haved tried setting my Meta-Key, but can't get it to work. I want to use Alt+8 for {, Alt+9 for }, Alt-5 for [, Alt-6 for ].
(setq mac-option-modifier nil
mac-command-modifier 'meta
x-select-enable-clipboard t)
See: Unable to type braces and square braces in emacs
Upvotes: 1
Views: 1140
Reputation: 497
For macos azerty French keyboard. It's :
(define-key global-map (kbd "M-(") "{")
(define-key global-map (kbd "M-)") "}")
Upvotes: 0
Reputation: 21162
Have you tried?
(define-key global-map (kbd "M-8") "{")
(define-key global-map (kbd "M-9") "}")
Upvotes: 3