aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1998-11-11 18:49:47 +0000
committerKarl Heuer1998-11-11 18:49:47 +0000
commit6f3110433aa42516d6f8bc7928b86e2f45153734 (patch)
tree6b9eb8e31b06e321bc7e1f40785a7fd6a85a4ed1
parentec44193a26d4955c9e52a89dcb4cbb91ec58b5e2 (diff)
downloademacs-6f3110433aa42516d6f8bc7928b86e2f45153734.tar.gz
emacs-6f3110433aa42516d6f8bc7928b86e2f45153734.zip
Discuss C-w.
-rw-r--r--etc/TUTORIAL13
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
355character, but let's not worry about that). C-k and M-k are like C-e 355character, but let's not worry about that). C-k and M-k are like C-e
356and M-e, sort of, in that lines are opposite sentences. 356and M-e, sort of, in that lines are opposite sentences.
357 357
358You can also kill any part of the buffer with one uniform method.
359Move to one end of that part, and type C-@ or C-SPC (either one).
360Move to the other end of that part, and type C-w. That kills
361all 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
358When you delete more than one character at a time, Emacs saves the 371When you delete more than one character at a time, Emacs saves the
359deleted text so that you can bring it back. Bringing back killed text 372deleted text so that you can bring it back. Bringing back killed text
360is called "yanking". You can yank the killed text either at the same 373is called "yanking". You can yank the killed text either at the same