Emacs

setting emacs on mac
Use Alt/Option as Meta Key under terminal emulators For Terminal.app, starting from Snow Leopard: Go to Preferences > Settings > Keyboard > Use option as meta key.
 * http://www.emacswiki.org/emacs/EmacsForMacOS

For iTerm: Go to Manage Profiles > Keyboard profiles > (your profile) > Option Key as…

emacs

 * https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/master/guide-zh.org - learn emacs

shell>emacs file1 // open official document Alt + X健,输入help-with-tutorial //quit emacs Ctrl +x, Ctrl + c