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 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 create a new layer of that name.
SPC l TAB switches to the previous active layout, providing a quick way to jump between two projects actively being worked on.
Limit SPC TAB to current layout
(spacemacs-layouts :variables spacemacs-layouts-restrict-spc-tab t) to the
dotspacemacs-configuration-layers in the Spacemacs configuration file to limit
SPC TAB to toggle between buffers only from the current layout. This configuration is part of practicalli/spacemacs.d
The layer name shows in the mode line.
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 layouts.
The most layouts common commands are:
||Create a new layout or switch to existing layout by typing its name|
||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|