git clone 'git://github.com/ekazakov/swap-buffers.git'
The quickest way to swap buffers between windows. Based on switch-window package.
Bind your favorite key to
(global-set-key (kbd "C-c b") 'swap-buffers)
By default swap-buffers move focus to second window.
C-u C-c b to keep focus in first window
Choose window for swap
swap-buffers-dired-find-file works like
dired-find-file-other-window, but allow to specify concrete window.