
708
|
Chapter 8: The Emacs Editor
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Deletion Commands
Paragraphs and Regions
Stopping and Undoing Commands
Transposition Commands
Keystrokes Command name Description
Del backward-delete-char Delete previous character.
C-d delete-char Delete character under cursor.
M-Del backward-kill-word Delete previous word.
M-d kill-word Delete the word the cursor is on.
C-k kill-line Delete from cursor to end of line.
M-k kill-sentence Delete sentence the cursor is on.
C-x Del backward-kill-sentence Delete previous sentence.
C-y yank Restore what you’ve deleted.
C-w kill-region Delete a marked region (see next section).
(none) backward-kill-paragraph Delete previous paragraph.
(none) kill-paragraph Delete from the cursor tothe end of theparagraph.
Keystrokes Command name Description
C-@ set-mark-command Mark the beginning (or end) of a region.
C-Space (same as above) (same as above)
C-x C-p mark-page Mark page.
C-x C-x exchange-point-and-mark Exchange location of cursor and mark.
C-x h mark-whole-buffer Mark buffer.
M-q fill-paragraph Reformat paragraph.
(none) fill-region Reformat individual paragraphs within a region.
M-h mark-paragraph Mark paragraph.
Keystrokes Command name Description
C-g keyboard-quit Abort current command.
C-_ advertised-undo Undo last edit (can be done repeatedly).
(none) revert-buffer