Reputation: 589
If I have my frame split horizontally, then split one of those widows vertically with split-window-below, is there a way to go back to 2 windows split horizontally without having to use delete-other-windows and then split-window-right?
Upvotes: 18
Views: 5083
Reputation: 19747
You can save your window-configurations:
window-configuration-to-register C-x r w
and restore it later:
jump-to-register C-x r j
using registers
Upvotes: 12
Reputation: 2742
If you enable winner-mode
, you get something akin to a stack-based undo/redo functionality for all your window configuration changes. By default, C-c <left>
gets bound to winner-undo
, while C-c <right>
performs winner-redo
.
Upvotes: 20