As far as I understand, the hierarchy of things in tmux is like this: Sessions, which have Windows, which have Panes. Moving around things in this hierarchy using tmux commands is not trivial, especially since I don't see any globally unique pane identifiers around.
Is there maybe some built-in or external way to organize windows and panes in tmux, allowing me to list them as a hierarchy, thus allowing me to select one or more items and place them at a new location?
I expect it to look somewhat like this:
[ ] 0: 5 windows (created Sun Dec 1 02:29:25 2019) [151x43] (attached) [ ] 0: boi (1 panes) [151x43] [layout b83d,151x43,0,0,0] @0 [ ] 1: mnt (1 panes) [151x43] [layout b841,151x43,0,0,4] @4 [ ] 2: vi (1 panes) [151x43] [layout b842,151x43,0,0,5] @5 [*] 3: vi- (1 panes) [151x43] [layout b843,151x43,0,0,6] @6 [*] 5: sink* (1 panes) [151x43] [layout b846,151x43,0,0,9] @9 (active) [ ] 1: 4 windows (created Sun Dec 1 02:30:53 2019) [151x43] (attached) [ ] 0: vi (1 panes) [151x43] [layout b83e,151x43,0,0,1] @1 >[ ] 1: vi (1 panes) [151x43] [layout b83f,151x43,0,0,2] @2 [ ] 2: vi- (2 panes) [151x43] [layout 9749,151x43,0,0[151x21,0,0,3,151x21,0,22,12]] @3 [ ] 0: [151x21] [history 979/1000, 549206 bytes] %3 [ ] 1: [151x21] [history 0/1000, 0 bytes] %12 (active) [ ] 3: rust-fuse* (1 panes) [151x43] [layout 5c4f,151x43,0,0,10] @10 (active) You can select one or more session/window/pane, cut/copy them from original locaiton and paste them to new location.