windswap

Like windmove, but swaps buffers while moving point


Keywords
frames, convenience

Documentation

Melpa Status Melpa Stable Status Support me

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.

Installation

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 convenient windswap-default-keybindings function.

(windmove-default-keybindings 'control)
(windswap-default-keybindings 'control 'shift)

About

Author: Steve Purcell

Homepage: https://github.com/purcell/windswap

This little library was extracted from the author's full Emacs configuration, which readers might find of interest.


💝 Support this project and my other Open Source work

💼 LinkedIn profile

sanityinc.com

🐦 @sanityinc