I sometimes use Cx rw <register> to store the window configuration in a register, and Cx rj <register> (where <register> is the only character) to return to it.
Although this is a good way to save multiple window configurations that you want to return to after a while, I find the winner mode to be more convenient in several ways. (For example, you donβt have to worry about naming configurations).
Just put (winner-mode 1) in your .emacs, bind winner-undo and winner-redo to convenient shortcuts (or use the predefined IMHO Cc <left> and Cc <right> ), and you can switch back to the previous window configurations.
See also: M-: (info "(emacs) Window Convenience") and M-: (info "(emacs) RegConfig")
danlei Apr 04 '10 at 17:33 2010-04-04 17:33
source share