Start new windows with predefined layout (wt -layout preset.yaml) #16882

Closed
opened 2026-01-31 05:25:58 +00:00 by claunia · 2 comments
Owner

Originally created by @jeffrson on GitHub (Feb 25, 2022).

Description of the new feature/enhancement

There is "persisted window layout" and there are subcommands (sp) to start a new windows with some layout. However, it's not really easy to have a new window with a specific layout.

This feature request asks to load some layout definition file like this (from https://zellij.dev/documentation/layouts.html):

tabs:
  - direction: Vertical
    parts:
      - direction: Horizontal
        parts:
          - direction: Vertical
          - direction: Vertical
      - direction: Horizontal

for instance via wt -layout preset.yaml.
The preset file can be enhanced further with profile name to load, starting directory, or even with a start command (eg, launch some additional task).

Proposed technical implementation details (optional)

Originally created by @jeffrson on GitHub (Feb 25, 2022). # Description of the new feature/enhancement There is "persisted window layout" and there are subcommands (sp) to start a new windows with some layout. However, it's not really easy to have a new window with a specific layout. This feature request asks to load some layout definition file like this (from https://zellij.dev/documentation/layouts.html): ``` tabs: - direction: Vertical parts: - direction: Horizontal parts: - direction: Vertical - direction: Vertical - direction: Horizontal ``` for instance via `wt -layout preset.yaml`. The preset file can be enhanced further with profile name to load, starting directory, or even with a start command (eg, launch some additional task). # Proposed technical implementation details (optional) <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 05:25:58 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Feb 25, 2022):

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #5465 for more discussion.

/dup #5465

@zadjii-msft commented on GitHub (Feb 25, 2022): Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #5465 for more discussion. /dup #5465
Author
Owner

@ghost commented on GitHub (Feb 25, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Feb 25, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16882