diff options
| author | Karl Heuer | 1998-11-11 18:49:47 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-11-11 18:49:47 +0000 |
| commit | 6f3110433aa42516d6f8bc7928b86e2f45153734 (patch) | |
| tree | 6b9eb8e31b06e321bc7e1f40785a7fd6a85a4ed1 | |
| parent | ec44193a26d4955c9e52a89dcb4cbb91ec58b5e2 (diff) | |
| download | emacs-6f3110433aa42516d6f8bc7928b86e2f45153734.tar.gz emacs-6f3110433aa42516d6f8bc7928b86e2f45153734.zip | |
Discuss C-w.
| -rw-r--r-- | etc/TUTORIAL | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/TUTORIAL b/etc/TUTORIAL index 5eacdcf3234..70fb0690072 100644 --- a/etc/TUTORIAL +++ b/etc/TUTORIAL | |||
| @@ -355,6 +355,19 @@ started by C-f and M-f (well, <Delete> is not really a control | |||
| 355 | character, but let's not worry about that). C-k and M-k are like C-e | 355 | character, but let's not worry about that). C-k and M-k are like C-e |
| 356 | and M-e, sort of, in that lines are opposite sentences. | 356 | and M-e, sort of, in that lines are opposite sentences. |
| 357 | 357 | ||
| 358 | You can also kill any part of the buffer with one uniform method. | ||
| 359 | Move to one end of that part, and type C-@ or C-SPC (either one). | ||
| 360 | Move to the other end of that part, and type C-w. That kills | ||
| 361 | all the text between the two positions. | ||
| 362 | |||
| 363 | >> Move the cursor to the Y at the start of the previous paragraph. | ||
| 364 | >> Type C-SPC. Emacs should display a message "Mark set" | ||
| 365 | at the bottom of the screen. | ||
| 366 | >> Move the cursor to the n in "end", on the second line of the | ||
| 367 | paragraph. | ||
| 368 | >> Type C-w. This will kill the text starting from the Y, | ||
| 369 | and ending just before the n. | ||
| 370 | |||
| 358 | When you delete more than one character at a time, Emacs saves the | 371 | When you delete more than one character at a time, Emacs saves the |
| 359 | deleted text so that you can bring it back. Bringing back killed text | 372 | deleted text so that you can bring it back. Bringing back killed text |
| 360 | is called "yanking". You can yank the killed text either at the same | 373 | is called "yanking". You can yank the killed text either at the same |