Layouts enable you to switch between different projects. Each layout keeps its own list of open buffers, making it quick to navigate to specific buffers.
SPC l TAB switches to the previous layout, providing a quick way to jump between two projects actively being worked on.
SPC l l shows a menu where you can select an existing layer or create a new layer. Type in the name of the layer to narrow to the existing layer name or use the name to create a new layer. The layer name shows in the mode line.
Limit SPC TAB to current layout
(spacemacs-layouts :variables spacemacs-layouts-restrict-spc-tab t) to the
dotspacemacs-configuration-layers in the
.spacemacs file to limit
SPC TAB to buffers of the current layer.
Layouts Transient State
SPC l opens the Layouts transient state, allowing you to create, delete and select layouts with a single character keybinding.
The transient state also lists all the current layers.
The most layer common commands are:
||Create a new layout|
||Delete current layout|
||Select layout in position (creates layouts if none exists)|
||Select previously displayed layout|
||Next / Previous layout|
||Move layout left or right in the layout list|