diff options
| author | Jim Blandy | 1992-01-08 01:58:52 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-01-08 01:58:52 +0000 |
| commit | e652a34a67f502767cd6e06800690438e4843a18 (patch) | |
| tree | d962b99cf02425f421e80cffa1439c88df2a383f | |
| parent | 2076c87c104703a6906f46306e28971c05a18b48 (diff) | |
| download | emacs-e652a34a67f502767cd6e06800690438e4843a18.tar.gz emacs-e652a34a67f502767cd6e06800690438e4843a18.zip | |
*** empty log message ***
| -rw-r--r-- | etc/TUTORIAL | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/etc/TUTORIAL b/etc/TUTORIAL index 993de7ce0b2..db88bc3ed74 100644 --- a/etc/TUTORIAL +++ b/etc/TUTORIAL | |||
| @@ -675,6 +675,58 @@ Reverse search. Everything that applies to C-s applies to C-r except | |||
| 675 | that the direction of the search is reversed. | 675 | that the direction of the search is reversed. |
| 676 | 676 | ||
| 677 | 677 | ||
| 678 | MULTIPLE WINDOWS | ||
| 679 | ---------------- | ||
| 680 | |||
| 681 | One of the nice features of Emacs is that you can display more than one | ||
| 682 | window on the screen at the same time. | ||
| 683 | |||
| 684 | >> Move the cursor to this line and type C-u 0 C-l. | ||
| 685 | |||
| 686 | >> Now type C-x 2 which splits the screen into two windows. | ||
| 687 | Both windows display this tutorial. The cursor stays in the top window. | ||
| 688 | |||
| 689 | >> Type C-M-v to scroll the bottom window. | ||
| 690 | |||
| 691 | >> Type C-x o ("o" for "other") to move the cursor to the bottom window. | ||
| 692 | >> Use C-v and M-v in the bottom window to scroll it. | ||
| 693 | Keep reading these directions in the top window. | ||
| 694 | |||
| 695 | >> Type C-x o again to move the cursor back to the top window. | ||
| 696 | The cursor is still just where it was in the top window before. | ||
| 697 | |||
| 698 | You can keep using C-x o to switch between the windows. Each | ||
| 699 | window has its own cursor position, but only one window actually | ||
| 700 | shows the cursor. All the ordinary editing commands apply to the | ||
| 701 | window that the cursor is in. | ||
| 702 | |||
| 703 | The command C-M-v is very useful when you are editing text in one | ||
| 704 | window and using the other window just for reference. You can keep | ||
| 705 | the cursor always in the window where you are editing, and edit | ||
| 706 | there as you advance through the other window. | ||
| 707 | |||
| 708 | >> Type C-x 1 (in the top window) to get rid of the bottom window. | ||
| 709 | |||
| 710 | (If you had typed C-x 1 in the bottom window, that would get rid | ||
| 711 | of the top one. Think of this command as "Keep just one | ||
| 712 | window--the window I am already in.") | ||
| 713 | |||
| 714 | You don't have to display the same buffer in both windows. If | ||
| 715 | you use C-x C-f to find a file in one window, the other window | ||
| 716 | doesn't change. You can pick a file in each window | ||
| 717 | independently. | ||
| 718 | |||
| 719 | Here is another way to use two windows to display two different | ||
| 720 | things: | ||
| 721 | |||
| 722 | >> Type C-x 4 C-f followed by the name of one of your files. | ||
| 723 | End with <RETURN>. See the specified file appear in the bottom | ||
| 724 | window. The cursor goes there, too. | ||
| 725 | |||
| 726 | >> Type C-x o to go back to the top window, and C-x 1 to delete | ||
| 727 | the bottom window. | ||
| 728 | |||
| 729 | |||
| 678 | RECURSIVE EDITING LEVELS | 730 | RECURSIVE EDITING LEVELS |
| 679 | ------------------------ | 731 | ------------------------ |
| 680 | 732 | ||