Skip to content

aki-s/emacs-rotate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

emacs-rotate.el

What's it

This package will help the operation for the multiple windows.

Behavior has been prepared with reference to tmux.

Basic Usage

rotate-window

Rotate the positions of the window.

rotate-window

emacs-rotate

rotate-layout

Move a window to the next layout and rearrange the window to fit.

rotate-layout 2 windows

emacs-rotate

rotate-layout 4 windows

emacs-rotate

Customize Variables

rotate-functions

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.

Preset layouts

The following layouts are supported:

rotate:even-horizontal

Spread out evenly from left to right across the window.

rotate:even-vertical

Spread evenly from top to bottom.

rotate:main-horizontal

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.

rotate:main-vertical

Similar to main-horizontal but the large window is placed on the left and the others spread from top to bottom along the right.

rotate:tiled

Spread out as evenly as possible over the window in both rows and columns.

About

Rotate the layout of emacs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%