Skip to content

Allow merging existing tabs into split pane #8959

Open

Description

@pro0255

Pre-submit Checks

Describe the solution you'd like?

Allow merging existing tabs into a split pane by dragging a tab into the pane area of another tab. Currently, drag & drop only works one way — you can drag a pane out to become a tab, but you can't drag a tab into another tab to create a split pane.

Is your feature request related to a problem? Please describe.

I'm always frustrated when I have two tabs open side by side and want to compare their output in a split view — I have to close one and re-open it as a split pane instead of just dragging it in.

Additional context

Requested by @baskoj

Operating system (OS)

macOS

How important is this feature to you?

3

Activity

  1. pro0255 commented on Mar 27, 2026

    @pro0255
    Author

    Possible duplicate of #466

  2. added
    enhancement
    area:window-tabs-panes
    triaged
    on Apr 19, 2026
  3. BudhirajaMadhav commented on Apr 29, 2026

    @BudhirajaMadhav

    @oss-maintainers — could this be considered for ready-to-spec?

    PR #9275 (cross-window tab drag) covers tab↔window but explicitly not tab→pane, and #466 is broad enough that it'll likely be considered addressed once #9275 lands. The "merge a tab into another tab as a split pane" capability — the inverse of today's pane→tab tear-out — would still be unimplemented and doesn't have a dedicated tracking spec yet.

    Happy to take the spec PR (specs/GH8959/product.md + tech.md) per CONTRIBUTING.md once it's labeled.

  4. vascodegraaff commented on May 28, 2026

    @vascodegraaff

    @zachbai any chance we can update this to ready-to-implement? I have a mr ready for this here? #11404

  5. victor-grobler-adsum commented on May 29, 2026

    @victor-grobler-adsum

    This would be a great feature to have 👍

  6. MaisonDeVolonte commented on Jun 5, 2026

    @MaisonDeVolonte

    Workaround that doesn't require killing active terminal sessions:

    • Right-click on a terminal window and select 'split pane'
    • Click and drag the terminal title bar onto the terminal tab you want to pair it with
    • Warp will merge the two terminal tabs into a single split-view window
    • Close the auto-generated empty terminal tab
    • Optional: set the sidebar view setting to 'panes' instead of 'tabs'
    warp-combine-tabs-into-pane-2.mov
  7. added
    ready-to-implement
    on Jun 9, 2026
  8. warp-for-oss commented on Jun 9, 2026

    @warp-for-oss
    Contributor

    This issue has been labeled ready-to-implement and is open for contributions involving code changes. If you'd like to tackle it, feel free to open a pull request against this issue. You can also comment @oz-agent on this issue to have the bot draft an implementation PR automatically.

  9. vkodithala commented on Jun 9, 2026

    @vkodithala
    Contributor

    This is an awesome feature request and seems well-scoped since we've landed drag-to-window, marking this ready-to-implement!

  10. senseFy commented on Jul 4, 2026

    @senseFy
    Contributor

    @oss-maintainers I’m interested in picking this up with a smaller first slice than the previous drag-based approach in #11404.

    Proposed scope:

    • Add a Merge selected tabs action to the context menu for multi-selected tabs.
    • Use the first selected tab by tab order as the destination.
    • Move the visible terminal panes from the other selected tabs into the destination tab.
    • Append moved panes to the right side of the destination tab.
    • Do not try to preserve the original split geometry of source tabs in this first version.
    • Only enable the action when the selected tabs/panes are eligible, e.g. visible terminal panes only; avoid hidden/off-tree panes or pane types that need special attach/detach behavior.
    • Add focused automated coverage plus manual testing proof in the PR.

    Since this issue is already labeled ready-to-implement, would you be comfortable with this as a code PR against #8959, or would you prefer a small specs/GH8959/product.md + tech.md PR first because the interaction model is menu-based rather than drag-based?

  11. vkodithala commented on Jul 7, 2026

    @vkodithala
    Contributor

    Hey @pro0255, was taking a look at @senseFy's implementation PR and had a thought about this request. Currently, we support merging a pane into an existing tab, see the video below and the @MaisonDeVolonte's message above:

    Screen.Recording.2026-07-07.at.12.10.26.PM.mov

    In theory, this should solve your original frustration here, i.e. you could just drag a pane from the second tab into the first to compare them in a split view.

    I'm always frustrated when I have two tabs open side by side and want to compare their output in a split view — I have to close one and re-open it as a split pane instead of just dragging it in.

    Is your feature request then that we should support merging a tab (with an arbitrary # of panes) into another tab? Could you add some color into the user story here? Does the solution @senseFy linked to their PR here make sense? I roughly agree that supporting dragging one tab into another might be difficult, especially in the multi-pane case, so I wonder if this is a good approximation.

    Would love if folks could chime in here!

  12. added
    needs-info
    and removed
    ready-to-implement
    on Jul 7, 2026
  13. senseFy commented on Jul 8, 2026

    @senseFy
    Contributor

    Thanks @vkodithala for taking another look.

    I agree that dragging a pane into another tab covers the simple case where the user only needs to move one visible pane. The case I had in mind for this PR is more of a batch consolidation flow: after working in several related tabs, I often want to turn the selected tabs into one split-view tab while keeping the existing running panes.

    The drag workflow feels less direct for that. It requires moving panes one by one, and in vertical tabs it also seems to depend on the exact view and drag source. In Tabs view, dragging a tab row reorders or detaches tabs rather than merging it into another tab. In Panes view, the pane rows themselves do not appear to be pane drag sources. For common single-pane terminal tabs, there may also not be a visible pane header to start the drag from.

    So I see this PR as complementary to drag-to-move-pane rather than a replacement. It gives users a stable, unified selected-tabs action for the explicit intent: "merge these tabs." The implementation is intentionally conservative: the first selected tab is the destination, source tabs must contain only visible terminal panes, source panes are appended to the right, and emptied source tabs are removed.

    Does that seem like a reasonable direction for this issue, or would you prefer a different UX?

  14. KamilLelonek commented on Sep 19, 2026

    @KamilLelonek

    Any ETA on this? Splitting is cool, merging would be even cooler to have panes side by side from the existing tabs.

  15. ElliIsmail commented on Sep 24, 2026

    @ElliIsmail

    I’m experiencing this limitation on macOS with both horizontal and vertical tabs.

    Steps:

    1. Open two separate terminal tabs in the same Warp window.
    2. Try dragging one tab onto the other tab or into its terminal area to combine the existing sessions into a split view.

    Actual behavior:
    I can reorder tabs, but I cannot merge them into split panes. Creating a new split with Cmd+D works, but that creates a new session rather than moving an existing one.

    Expected behavior:
    Allow moving an existing terminal session into another tab as a split pane, preserving its running processes and history.

    The split-pane documentation describes moving panes between tabs, which makes it unclear whether merging two single-pane tabs should already work. Could you clarify whether this is an unsupported feature or a bug?

    Warp version: 0.2026.09.16.08.27.02
    macOS version: 27.0

  16. andrejbalazdesign commented on Oct 1, 2026

    @andrejbalazdesign

    Same here. Can't move two existing tabs into a split view. Super annoying.

  17. nickvirden commented on Oct 22, 2026

    @nickvirden

    @vkodithala, following up on your question about the use case, with a draft implementation to react to.

    Dragging a pane into another tab works, but when a tab has a single pane I couldn't find anything to grab. @MaisonDeVolonte's workaround is to split the tab, drag the new pane's header across, then close the leftover pane. Dragging the tab row only reorders tabs, as @senseFy and @ElliIsmail describe. The PR's "Before" recordings show both.

    Your comment suggested a menu action might be a good approximation, so I drafted that in #16610. It adds "Merge into tab N: <title>" to the tab context menu, in vertical and horizontal tabs, behind a default-off flag. It moves the source tab's panes into the chosen tab as splits, keeps the sessions running, and closes the emptied tab. Only tabs made up entirely of visible terminal panes are eligible. It merges one tab at a time, not a multi-selection like #13401, and the list grows with the tab count. I tested vertical tabs by hand; horizontal tabs are covered by an integration test only.

    I used flat rows because clicking a submenu parent row closes its sidecar. I filed that separately as #16609.

    Is a menu entry an acceptable direction? If so, I can leave #16610 as a code PR or turn it into a spec PR, whichever matches the label you prefer to set.

  18. nickvirden commented on Nov 16, 2026

    @nickvirden

    @oss-maintainers, could someone take a look at this one when there's time? It's been about three weeks since my last comment, and I'd rather not leave a draft PR sitting without a decision.

    For context, this issue lost ready-to-implement on July 7 while we sorted out the use case, and #16610 is a draft of the menu-based approach discussed above.

    I'd like to know which way you'd like it to go: keep #16610 as a code PR, turn it into a spec PR, or close it if this direction isn't wanted. Any of those is fine. I mainly need a readiness label or a "no" so I know what to do next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:window-tabs-panesenhancementneeds-infotriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions