swap-buffers

https://github.com/ekazakov/swap-buffers.git

git clone 'git://github.com/ekazakov/swap-buffers.git'
3

swap-buffers

The quickest way to swap buffers between windows. Based on switch-window package.

Install

(require 'swap-buffers)

Usage

Bind your favorite key to 'swap-buffers: (global-set-key (kbd "C-c b") 'swap-buffers)

By default swap-buffers move focus to second window. Press C-u C-c b to keep focus in first window

Before

Choose window for swap

After

Bonus

swap-buffers-dired-find-file works like dired-find-file-other-window, but allow to specify concrete window.