Mercurial > emacs
changeset 23694:8a875ac0443f
Discuss C-w.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 11 Nov 1998 18:49:47 +0000 |
parents | 295cf395a392 |
children | a9640ecf5ab4 |
files | etc/TUTORIAL |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/TUTORIAL Wed Nov 11 18:47:32 1998 +0000 +++ b/etc/TUTORIAL Wed Nov 11 18:49:47 1998 +0000 @@ -355,6 +355,19 @@ character, but let's not worry about that). C-k and M-k are like C-e and M-e, sort of, in that lines are opposite sentences. +You can also kill any part of the buffer with one uniform method. +Move to one end of that part, and type C-@ or C-SPC (either one). +Move to the other end of that part, and type C-w. That kills +all the text between the two positions. + +>> Move the cursor to the Y at the start of the previous paragraph. +>> Type C-SPC. Emacs should display a message "Mark set" + at the bottom of the screen. +>> Move the cursor to the n in "end", on the second line of the + paragraph. +>> Type C-w. This will kill the text starting from the Y, + and ending just before the n. + When you delete more than one character at a time, Emacs saves the deleted text so that you can bring it back. Bringing back killed text is called "yanking". You can yank the killed text either at the same