Alex Rivera | Logout

With emacs, How do you swap the position of 2 windows

Asked 2009-10-02T15:02:30.670
10

I've got 2 windows open in Emacs and I'd like to swap their positions.

Ie Consider having a REPL above the source file and I'd like to swap their locations so that the REPL is below the source file.

I'd also like to preserve the sizes of the windows

Edit
Report

1 Answer

3

I find the TransposeFrame library useful. I mostly use it for swapping two windows, as per this question; but it provides more general functionality than just that.

Follow the link to see ascii diagrams of the various transformations.

answered 2013-02-10T23:46:28.550

Your Answer