Open kostrse opened 4 years ago
This is fairly similar to another request that's already being tracked in #1000
A switch panes option? Like a
switchLeft
,switchRight
,switchUp
,switchDown
, to allow the user to rearrange the panes layout (https://github.com/microsoft/terminal/issues/1000#issuecomment-578665067)
but this is unique enough that I'll leave it open to track independently. Thanks!
Yanking triage off this one
With #10638 merged, I'm gonna leave this open to track implementing the swapPane(from={id}, to={it})
action. I'm gonna pop the rotatePanes
action into it's own separate issue for tracking purposes.
To note, there is now a Pane::SwapPanes
function , so all that needs to be done for swap-pane(from{id}, to={id})
is adding the boilerplate for the command and actually calling SwapPanes.
Oh hey look, this was added in #10780!
With #10638 merged, I'm gonna leave this open to track implementing the
swapPane(from={id}, to={it})
action. I'm gonna pop therotatePanes
action into it's own separate issue for tracking purposes.
I'm fairly certain that I did not implement this specifically, at least it isn't user accessible, see my comment above. While SwapPanes lets you do all kinds of things, the UI doesn't let you swap 2 arbitrary panes by their IDs.
That's what I get for not reading and getting high on closing out issues 😜
Right now, after splitting my screen onto two panes, I cannot find a way to swap the panes between each other.
In tmux it's possible to move/swap opened panes in different ways.
Moving panes around in tmux:
Related tmux commands:
swap-pane
e.g.:swap-pane -s (first pane index) -t (second pane index)
move-pane