We often focus on reading the content in current window, hoping to temporarily maximize the current window, after reading the content, restore the window layout.
toggle-one-window mainly solves the use of scenes,the first call save the current window layout configuration and delete other windows, and second call will restore the window layout before the maximum operation.
- Clone or download this repository (path of the folder is the
<path-to-toggle-one-window>used below). - In your
~/.emacs, add the following two lines:
(add-to-list 'load-path "<path-to-toggle-one-window>") ; add toggle-one-window to your load-path
(require 'toggle-one-window)- toggle-one-window