Swap Emacs windows with their neighbours
If you enjoy using
windmove, this package is an add-on for you: it
has variants of the
windmove commands which swap the buffers as you
move, so that you get the effect of "dragging" windows around
directionally with the arrow keys.
You can install
windswap from the
MELPA repository. The version of
windswap there will always be up-to-date.
Add global key bindings for
windswap's commands manually, or use the
(windmove-default-keybindings 'control) (windswap-default-keybindings 'control 'shift)
Author: Steve Purcell
This little library was extracted from the author's full Emacs configuration, which readers might find of interest.