, fpbhb emacs (emacs -nw).
, ( -). , , emacs .
"META" emacs (.. ). , :
(setq mac-command-key-is-meta nil
mac-command-modifier nil)
(setq mac-option-key-is-meta t
mac-option-modifier 'meta
mac-right-option-modifier nil)
emacs . , :
→ → -
Unfortunately, after that you will not be able to use the option key to enter special characters on international keyboards. In particular, I missed the tilde, backslash, and @.
I solved this last issue by adding the missing key mapping to my .emacs:
(define-key key-translation-map (kbd "M-ñ") (kbd "~"))
(define-key key-translation-map (kbd "M-º") (kbd "\\"))
(define-key key-translation-map (kbd "M-2") (kbd "@"))
Voila.
source
share