Wizard
Wizard

Reputation: 22093

Switch window configuration layout with names

The winner-mode configure window layout with functions of winner-redo and winner-undo.

Is it possible to name the current configuration window layout, then I could browser all the layouts by name and switch between them purposely.

Upvotes: 3

Views: 189

Answers (2)

Rorschach
Rorschach

Reputation: 32426

You can use registers for this purpose:

To name a window configuration, simply: C-x r wletter/number

Then, to jump b/w named configurations: C-x r jid

Note: those are the default bindings for window-configuration-to-register and jump-to-register, which I would simplify if you start to use registers commonly. They are extremely useful, letting you jump b/w all sorts of configurations/points/etc.

If you have common things you want to be defaults in registers, you could add that to your init.

Upvotes: 1

Drew
Drew

Reputation: 30701

If you use Bookmark+ then you can bookmark any window configuration (or frame configuration or...).

You can then switch among your saved configurations by just jumping to their bookmarks.

Upvotes: 2

Related Questions