Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e652a34a
Commit
e652a34a
authored
Jan 08, 1992
by
Jim Blandy
Browse files
*** empty log message ***
parent
2076c87c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
0 deletions
+52
-0
etc/TUTORIAL
etc/TUTORIAL
+52
-0
No files found.
etc/TUTORIAL
View file @
e652a34a
...
...
@@ -675,6 +675,58 @@ Reverse search. Everything that applies to C-s applies to C-r except
that the direction of the search is reversed.
MULTIPLE WINDOWS
----------------
One of the nice features of Emacs is that you can display more than one
window on the screen at the same time.
>> Move the cursor to this line and type C-u 0 C-l.
>> Now type C-x 2 which splits the screen into two windows.
Both windows display this tutorial. The cursor stays in the top window.
>> Type C-M-v to scroll the bottom window.
>> Type C-x o ("o" for "other") to move the cursor to the bottom window.
>> Use C-v and M-v in the bottom window to scroll it.
Keep reading these directions in the top window.
>> Type C-x o again to move the cursor back to the top window.
The cursor is still just where it was in the top window before.
You can keep using C-x o to switch between the windows. Each
window has its own cursor position, but only one window actually
shows the cursor. All the ordinary editing commands apply to the
window that the cursor is in.
The command C-M-v is very useful when you are editing text in one
window and using the other window just for reference. You can keep
the cursor always in the window where you are editing, and edit
there as you advance through the other window.
>> Type C-x 1 (in the top window) to get rid of the bottom window.
(If you had typed C-x 1 in the bottom window, that would get rid
of the top one. Think of this command as "Keep just one
window--the window I am already in.")
You don't have to display the same buffer in both windows. If
you use C-x C-f to find a file in one window, the other window
doesn't change. You can pick a file in each window
independently.
Here is another way to use two windows to display two different
things:
>> Type C-x 4 C-f followed by the name of one of your files.
End with <RETURN>. See the specified file appear in the bottom
window. The cursor goes there, too.
>> Type C-x o to go back to the top window, and C-x 1 to delete
the bottom window.
RECURSIVE EDITING LEVELS
------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment