• 0
name Punditsdkoslkdosdkoskdo

Emacs on Mac OS X Leopard key bindings

I'm a Mac user and I've decided to learn Emacs. I've read that to reduce hand strain and improve accuracy the CTRL and CAPS LOCK keys should be swapped. How do I do this in Leopard?

Also, in Terminal I have to use the ESC key to invoke meta. Is there any way to get the alt/option key to invoke meta instead?

update: While the control key is much easier to hit now, the meta key is also used often enough that its position on my MacBook and Apple Keyboard also deserves attention. In fact, I find that the control key is actually easier to hit, so I've remapped my control key to act as a meta key. Does anyone have a better/more standard solution?

For reference, here are the key bindings, for moving around text:

 +  - move left one word
 +  - move right one word
 + delete - back delete one word
Shift +  + delete - foward delete one word
 +  - move up one paragraph
 +  - move down one paragraph
 +  - move to start of current line
 +  - move to end of current line
Shift + any of the above extend selection by appropriate amount

Click then drag - select text
Double-click then drag - select text, wrapping to word ends
Triple-click then drag - select text, wrapping to paragraph ends

Shift + Select text with mouse - add to selection (contiguous)
 + Select text with mouse - add to selection (non-contiguous)
 + Drag - select rectangular area (non-contiguous)
 +  + drag - add rectangular area to selection
Drag selection - move text
 + drag selection - copy text

Ctrl + A - move to start of current paragraph
Ctrl + B - move left one character
Ctrl + D - forwards delete
Ctrl + E - move to end of current paragraph
Ctrl + F - move right one character
Ctrl + H - delete
Ctrl + K - delete remainder of current paragraph
Ctrl + N - move down one line
Ctrl + O - insert new line after cursor
Ctrl + P - move up one line
Ctrl + T - transpose (swap) two surrounding character
Ctrl + V - move to end, then left one character
Ctrl + Y - paste text previously deleted with Ctrl - K

  • 0
Reply Report