
Summary of Commands by Group | 707
Emacs
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
File-Handling Commands
Cursor-Movement Commands
Keystrokes Command name Description
C-x C-f find-file Find file and read it.
C-x C-v find-alternate-file Read another file; replace the one read with C-x
C-f.
C-x i insert-file Insert file at cursor position.
C-x C-s save-buffer Save file (may hang terminal; use C-q to restart).
C-x C-w write-file Write buffer contents to file.
C-x C-c save-buffers-kill-emacs Exit Emacs.
C-z suspend-emacs Suspend Emacs (use exit or fg to restart).
Keystrokes Command name Description
C-f forward-char Move forward one character (right).
C-b backward-char Move backward one character (left).
C-p previous-line Move to previous line (up).
C-n next-line Move to next line (down).
M-f forward-word Move one word forward.
M-b backward-word Move one word backward.
C-a beginning-of-line Move to beginning of line.
C-e end-of-line Move to end of line.
M-a backward-sentence Move backward one sentence.
M-e forward-sentence Move forward one sentence.
M-{ backward-paragraph Move backward one paragraph.
M-} forward-paragraph Move forward one paragraph.
C-v scroll-up Move forward one screen.
M-v scroll-down Move backward one screen.
C-x [ backward-page Move backward one page.
C-x ] forward-page Move forward one page.
M-> end-of-buffer Move to end ...