© Harley Hahn 2016

Harley Hahn, Harley Hahn's Emacs Field Guide, 10.1007/978-1-4842-1703-0_9

9. Kill and Delete; Move and Copy; Correct Mistakes; Spelling; Fill

Harley Hahn

(1)Santa Barbara, California, USA

9.1 Section 9.1: Kill and Delete: Two Ways to Erase Text

There are a variety of Emacs commands you can use to erase text from the buffer. As a convenience, Emacs will remember the erased text so you can insert it back into the buffer if you want. For example, to move a paragraph from one place to another, you can erase it and then insert it somewhere else.

Once you start using these commands, it won’t be long before you see there is no need for you to worry about preserving everything. For example, when you erase a single character or an empty ...

Get Harley Hahn's Emacs Field Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.