Harley Hahn's Emacs Field Guide by Harley Hahn

Harley Hahn's Emacs Field Guide by Harley Hahn

Author:Harley Hahn
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


7.6 Section 7.6: Commands to Control Windows

One of the tricks to being an Emacs virtuoso (or, at least, looking like an Emacs virtuoso) is to become a whiz at manipulating windows. So if you like to impress other people, you will find this section particularly useful and interesting.

When you are editing a single buffer, Emacs puts it in one large window. Thus, much of the time, you will be working with one buffer and only one window.

At various times, however, Emacs will create another window. This will happen automatically whenever Emacs has some information it needs to display. For example, when you start the Help facility (explained in Section 12.3), Emacs will create a new window and, within that window, display a buffer named *Help*.

In addition, you can create a new window for yourself whenever you want. You can use the new window to display the same buffer as the old window or a completely different buffer. Remember, at any particular time, one window is designated as the selected window (see Section 6.3). This is the window that contains the cursor.

The commands to work with windows are shown in Figure 7-2. With a little practice, you will be zipping around like a greased snipe on his way home from Starbucks, moving from one window to another, manipulating windows like nobody’s business.

Figure 7-2. Commands for controlling windows.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.