1

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

Community
  • 1
  • 1
RParadox
  • 6,393
  • 4
  • 23
  • 33

2 Answers2

3

Have you tried?

(define-key global-map (kbd "M-8") "{")
(define-key global-map (kbd "M-9") "}")
Oleg Pavliv
  • 20,462
  • 7
  • 59
  • 75
0

For macos azerty French keyboard. It's :

(define-key global-map (kbd "M-(") "{")
(define-key global-map (kbd "M-)") "}")
Damien GOUYETTE
  • 467
  • 1
  • 3
  • 11