In tmux, is it possible to list all panes in all windows

tmux

Say, I got two windows, Window 1 contains 2 pane (1, 2), Window 2 contains 3 panes(1,2,3), and I'm in pane 1 in Window 1, and I want to jump directly into the pane 2 in Window 2, PREFIX w which is choose-window will list all the windows in the session so I can jump into the right window, but it will not list the panes, PREFIX q which is display-panes will let me choose the right pane only in the current window, but not across windows.

So I wonder if there is any command that let me choose panes across windows.
The best solution is choose-window or a new command will not only list all the windows but also list all the panes inside each window like tree in a directory.

Best Answer

This is an old post, actually this problems was already solved by commit aad4e4d on github page a long ago, use choose-tree (just bind it to a key) to show all panes in all sessions/widows/tabs, it even shows a preview box when you scroll line into one pane from the list, very nice.

Just compile and install tmux from github source code and you can use this feature.

Related Question