git clone 'git://github.com/daic-h/emacs-rotate.git'
This package will help the operation for the multiple windows.
Behavior has been prepared with reference to tmux.
Rotate the positions of the window.
Move a window to the next layout and rearrange the window to fit.
rotate-layout 2 windows
rotate-layout 4 windows
Default value is
'(rotate:even-horizontal rotate:even-vertical rotate:main-horizontal rotate:main-vertical rotate:tiled)
A number of preset layouts are available. These may be selected with the rotate-layout command or cycled with next-layout; once a layout is chosen, window within it may be moved and resized as normal.
By replacing this value, you can circulate freely.
The following layouts are supported:
Spread out evenly from left to right across the window.
Spread evenly from top to bottom.
A large (main) window is shown at the top of the window and the remaining windows are spread from left to right in the leftover space at the bottom.
Similar to main-horizontal but the large window is placed on the left and the others spread from top to bottom along the right.
Spread out as evenly as possible over the window in both rows and columns.