/[emacs]/emacs/etc/TUTORIAL
ViewVC logotype

Diff of /emacs/etc/TUTORIAL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.54 by rms, Thu Aug 29 14:43:49 2002 UTC revision 1.55 by rms, Thu Sep 5 02:43:05 2002 UTC
# Line 50  The following commands are useful for vi Line 50  The following commands are useful for vi
50     Find the cursor again and notice that the same text     Find the cursor again and notice that the same text
51     is near the cursor now.     is near the cursor now.
52    
53  You can also use the PageUp and PageDn keys to do scrolling, if your  You can also use the PageUp and PageDn keys to move by screenfuls, if
54  terminal has them, but you can edit more efficiently if you use C-v  your terminal has them, but you can edit more efficiently if you use
55  and M-v.  C-v and M-v.
56    
57    
58  * BASIC CURSOR CONTROL  * BASIC CURSOR CONTROL
# Line 352  You've now learned the most basic way of Line 352  You've now learned the most basic way of
352  Emacs and correcting errors.  You can delete by words or lines  Emacs and correcting errors.  You can delete by words or lines
353  as well.  Here is a summary of the delete operations:  as well.  Here is a summary of the delete operations:
354    
355          <Delback>     delete the character just before the cursor          <Delback>    delete the character just before the cursor
356          C-d          delete the next character after the cursor          C-d          delete the next character after the cursor
357    
358          M-<Delback>   kill the word immediately before the cursor          M-<Delback>  kill the word immediately before the cursor
359          M-d          kill the next word after the cursor          M-d          kill the next word after the cursor
360    
361          C-k          kill from the cursor position to end of line          C-k          kill from the cursor position to end of line
# Line 384  can be reinserted, whereas "deleted" thi Line 384  can be reinserted, whereas "deleted" thi
384  Reinsertion of killed text is called "yanking".  Generally, the  Reinsertion of killed text is called "yanking".  Generally, the
385  commands that can remove a lot of text kill the text (they set up so  commands that can remove a lot of text kill the text (they set up so
386  that you can yank the text), while the commands that remove just one  that you can yank the text), while the commands that remove just one
387  character, or just blank lines and spaces, do deletion (so you cannot  character, or only remove blank lines and spaces, do deletion (so you
388  yank that text).  cannot yank that text).
389    
390  >> Move the cursor to the  beginning of a line which is not empty.  >> Move the cursor to the  beginning of a line which is not empty.
391     Then type C-k to kill the text on that line.     Then type C-k to kill the text on that line.
# Line 402  Bringing back killed text is called "yan Line 402  Bringing back killed text is called "yan
402  yanking back, or pulling back, some text that was taken away.)  You  yanking back, or pulling back, some text that was taken away.)  You
403  can yank the killed text either at the same place where it was killed,  can yank the killed text either at the same place where it was killed,
404  or at some other place in the buffer, or even in a different file.  or at some other place in the buffer, or even in a different file.
405  You can yank the text several times, which makes multiple copies of  You can yank the same text several times; that makes multiple copies
406  it.  of it.
407    
408  The command for yanking is C-y.  It reinserts the last killed text,  The command for yanking is C-y.  It reinserts the last killed text,
409  at the current cursor position.  at the current cursor position.

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26