Maximize enable your emacs frames maximize vertically or horizontally. Maximize drives multiple frames indivisually.
Clone file from github.com into your emacs directory
cd ~/.emacs.d
git clone git@github.com:izawa/maximize.git
Add load path to subdirectory
(let ((default-directory "~/.emacs.d/"))
(normal-top-level-add-subdirs-to-load-path))Add require into your .emacs.
(require 'maximize)
If you want to bind Hot-keys, add setting lines like below.
(global-set-key [f9] 'maximize-toggle-frame-vmax)
(global-set-key [f11] 'maximize-toggle-frame-hmax)See also: Frame Commands (library frame-cmds.el) for similar commands:
‘toggle-max-frame’, ‘toggle-max-frame-horizontally’, ‘toggle-max-frame-vertically’‘maximize-frame’, ‘maximize-frame-horizontally’, ‘maximize-frame-vertically’‘restore-frame’, ‘restore-frame-horizontally’, ‘restore-frame-vertically’These commands can also take into account the actual available screen space. E.g., they respect ‘mac-display-available-pixel-bounds’ (for Mac OS), and they can leave room for a standalone minibuffer frame, if you use one. (And frame-cmds.el respects the GPL.)