
706
|
Chapter 8: The Emacs Editor
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Because Emacs is such a comprehensive editor, containing literally thousands of
commands, some commands must be omitted for the sake of preserving a “quick”
reference. You can browse the command set by typing C-h (for help) or M-x Tab
(for command names).
Absolutely Essential Commands
If you’re just getting started with Emacs, here’s a short list of the most important
commands:
Command-Line Syntax
To start an Emacs editing session, type:
emacs [file]
Summary of Commands by Group
Reminder: C- indicates the Ctrl key; M- indicates the Meta key.
Keystrokes Description
C-h Enter the online help system.
C-x C-s Save the file.
C-x C-c Exit Emacs.
C-_ Undo last edit (can be repeated).
C-g Get out of current command operation.
C-p Up/down/forward/back by line or character.
C-n
C-f
C-b
C-v Forward/backward by one screen.
M-v
C-s Search forward/backward for characters.
C-r
C-d Delete next/previous character.
Del