es-windows icon indicating copy to clipboard operation
es-windows copied to clipboard

Window-management utilities

es-windows

screenshot1

This package provides user-access to internal Emacs windows, and an API for querying using it's interface. It's an extension Dimitri Fontaine's switch-window.

The follwing commands are available. esw/select-window is the core function, and the others are wrappers around it.

  • esw/select-window
  • esw/move-window
  • esw/show-buffer
  • esw/swap-two-windows
  • esw/delete-window
Example (with 4^ input)

screenshot1 screenshot2

How to use

Each number represents a window. Windows followed by H or V, are internal Horizontal or Vertical splitters. The last window is an external window, showing a buffer.

First you need to select a window on which to operate, by entering it's number. RET will select it. ^, >, v, and < will split it.

It's also possible to enter an operation without specifying a window, in which case the root window will be used.