2012-10-15 3 views
1

독일어 키보드를 사용하는 터미널 emacs에 {}, [] 등을 입력 할 수 있도록 Meta-Key를 구성하려고합니다. 나는 Meta-Key 설정을 시도했지만, 작동시키지 못했습니다. {, Alt + 9 for}, Alt-5 for [, Alt-6 for]에 Alt + 8을 사용하고 싶습니다.Emacs Meta-Key in Terminal

(setq mac-option-modifier nil 
     mac-command-modifier 'meta 
     x-select-enable-clipboard t) 

참조 : Unable to type braces and square braces in emacs

답변

3

당신이 봤어?

(define-key global-map (kbd "M-8") "{") 
(define-key global-map (kbd "M-9") "}") 
+0

고마워. 나는 ♥ Stackoverflow;) – RParadox

+0

추가 정보 : ~/.emacs.d/init.el (Mac)에 추가해야했습니다. – Ixx

0

macos azerty 프랑스어 키보드의 경우. 그것 :

(define-key global-map (kbd "M-(") "{") 
(define-key global-map (kbd "M-)") "}") 
관련 문제