I am running emacs 24.3 through the terminal on OS X 10.8.4. I would like to modify the meta-key which is currently set to be the ESC key. I have successfully changed the meta-key from ESC to option/alt however I am interested in remapping the meta-key to be the left-shift key. As I never use the left-shift key, I wouldn't mind remapping it permanently for all applications on my machine.
- How can I change the meta-key in emacs running from the terminal to any other key?
- Specifically, I would like to change the meta-key to left-shift as this would be really close to where my fingers are usually placed.
- Can this be configured through emacs via emacs-lisp? Or, must this be configured through OS X settings such as how I changed the caps-lock key?
All help is greatly appreciated!
EDIT: How can I do this both on my mac and when I connect remotely?
left-shift
key which is right under caps-lock on my machine to function as themeta-key
. Swapping them would be fine, but if you could tell me how to go about that process, that would be even better as I could experiment to see what I like best :)