http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/
ProgrammingTopics/BasicEventHandling/Tasks/TextDefaultsAndBindings.html OS X: emacs-like keyboard shortcuts that use Control
(ctrl-a, ctrl-n,
etc.) work, by default, in Cocoa apps. Following the instructions half-way
down this page (find “Key bindings”) will get you the Alt shortcuts too. 12:03