Workspaces
A workspace is a folder and the layout you open it in. Save one for each folder you work in, then launch the whole arrangement from a picker instead of splitting panes by hand.
Add a workspace
Open Settings with , and choose Workspaces, then Add workspace. Give it a name and point it at a folder. That is the whole minimum: a named workspace that opens one shell in that directory.
Set the layout in the same form when you want more than a shell. The main pane runs your editor, a right or bottom drawer runs a second command beside it, and Focus decides which one holds the cursor when the workspace opens.
Set each region yourself
The name is independent of the folder. A workspace called ZenTerm can point at
~/Dev/zen-term, and that name is what the picker lists and the tab wears.
Open it
Press P for the workspace picker. Your workspaces are listed. Choose one and you get a tab in that folder, named after the workspace, arranged in the layout you set.
The + row at the top adds a workspace and opens it in one step. For a workspace already in the list, Enter opens it in a new tab, and holding Shift replaces the current tab instead.
Put them in the order you want
The picker lists your workspaces in the order their sections appear in the workspaces file. To change it, focus a row in Settings → Workspaces and press ↑ or ↓. Settings moves that whole section in the file for you, so moving it by hand gets you the same result.
One keystroke, the whole layout
Opening a workspace runs its recipe at once: the first pane starts your main program, each drawer opens running its command, focus lands where you set it, and any environment variables you added reach every pane and drawer. An editor in the main pane and an agent in a drawer beside it arrive together, in one keystroke.
The picker shows the workspaces you add and nothing else. ZenTerm does not scan any directory, so the list stays deliberate and stays yours.
Edit the file directly
Settings writes each workspace to ~/.config/zen-term/workspaces, one section per
workspace. You can edit that file by hand, and the picker reads your changes the
next time you open it. The workspaces reference
covers every field a section takes, including the drawer commands and the
environment it injects.