Reputation: 8055
There are several things I'd like to do:
I know the three map commands need to be of the form:
(define-key KEYMAP KEY DEF)
Also I know my .emacs
file located in my home directory. However, I'm not sure how to define these three values or if I have the right idea.
One other thing, I installed emacs 24, but I noticed that mac OSX seems to also come with emacs 22. I'd like both to function the same. Is there a way to make sure the key mappings match? Or even better replace emacs 22 with 24 in the terminal?
Upvotes: 2
Views: 2708
Reputation: 8055
Never figured this out. My solution was to switch out keyboards so now I have my command keys mapped to meta and my alt keys mapped to control.
Upvotes: 0
Reputation: 4732
Emacs has a numbers of mac specific settings, including something similar what you ask for. They are included in the group 'Ns'.
use: M-x customize-group RET ns RET
I'm not really sure if left and right is treated separately. So maybe in addition you might want to install keyremap4macbook. This can do some remapping - even on application specific basis.
Personally I found it usefull to use the fn
key as wildcard e.g. I remap left alt
to fn
and tell emacs to treat fn
as meta
.
Upvotes: 2