3.17 Windows
This section contains details of commands used to manipulate windows. A window ring is used to hold details of all windows currently open.
New WindowEditor Command
- Arguments: None
Key sequence:Ctrl+X 2
Creates a new window and makes it the current window. Initially, the new window displays the same buffer as the current one.
Next WindowEditor Command
- Arguments: None
Key sequence: None - Changes the current window to be the next window in the window ring, and the current buffer to be the buffer that is displayed in that window.
Next Ordinary WindowEditor Command
- Arguments: None
Key sequence:Ctrl+X O - Changes the current window to be the next ordinary editor window, thus avoiding the need to cycle through other window types (for example, Listeners and Debuggers).
Previous WindowEditor Command
- Arguments: None
Key sequence: None - Changes the current window to be the previous window visited, and the current buffer to be the buffer that is displayed in that window.
Delete WindowEditor Command
- Arguments: None
Key sequence:Ctrl+X 0 - Deletes the current window. The previous window becomes the current window.
Delete Next WindowEditor Command
- Arguments: None
Key sequence:Ctrl+X 1 - Deletes the next window in the window ring.
Scroll Next Window DownEditor Command
- Arguments: None
Key sequence: None - The next window in the window ring is scrolled down.
- A prefix argument causes the appropriately numbered window, from the top of the window ring, to be scrolled.
Scroll Next Window UpEditor Command
- Arguments: None
Key sequence: None - The next window in the window ring is scrolled up.
- A prefix argument causes the appropriately numbered window, from the top of the window ring, to be scrolled.
Refresh ScreenEditor Command
- Arguments: None
Key sequence:Ctrl+L - Moves the current line to the center of the current window, and then re-displays all the text in all the windows.
- A prefix argument of 0 causes the current line to become located at the top of the window. A positive prefix argument causes the current line to become located the appropriate number of lines from the top of the window. A negative prefix argument causes the current line to become located the appropriate number of lines from the bottom of the window.