Table of Contents
1. typical Workflow
2 will automatically number the child window, and then press M-0... 9 jump (favorite)
3 window operations before undo/redo (favorites)
4. Move focus to the next window (frequently used)
5 horizontal/Vertical Split current window (commonly used)
6. Maximize the current subwindow (commonly used)
7. Delete the current subwindow (occasionally)
8. Move the focus to the upper, lower, and left windows (not required)
9 storage/loading window layout to register (not required)
1. typical Workflow
Compare file content in two subwindows
Open more windows to refer to other information.
If you are interested in the content of a window, jump to the window to maximize the window
After reading the maximized window content, the undo maximized operation returns to the previous small window mode to continue to view the global
2 will automatically number the child window, and then press M-0... 9 jump (favorite)
Install the window-numbering.el, and then add the following code in. emacs,
(Require 'window-numbering)
(Window-numbering-mode 1)
3 window operations before undo/redo (favorites)
Install Winner Mode and add the following code in. emacs,
(Winner-mode 1)
(Global-set-key (kbd "C-x 4 u") 'winner-undo)
(Global-set-key (kbd "C-x 4 r") 'winner-redo)
4. Move focus to the next window (frequently used)
M-x other-window. The shortcut key is 'c-x o '.
5 horizontal/Vertical Split current window (commonly used)
Shortcut Key C-x 2/3
6. Maximize the current subwindow (commonly used)
M-x delete-other-windows, shortcut key 'C-x 1 '.
7. Delete the current subwindow (occasionally)
M-x delete-window, shortcut key 'C-x 0 '.
8. Move the focus to the upper, lower, and left windows (not required)
Because I prefer the vi shortcut key, I installed the edevil Mode. The shortcut key is the same as the Vi. C-w h/j/k/l move to the subwindow in all directions.
9 storage/loading window layout to register (not required)
'C-x r w <register> 'storage, 'c-x r j <register>' loading.
Recommended reading:
Configure the newLISP development environment for Emacs
Teach you how to configure Emacs topics
Learn how to customize Emacs
In the GNU Emacs environment, how does one compile and run C/C ++ programs?