In tmux, is it possible to list all panes in all windows?
up vote
4
down vote
favorite
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.
tmux
add a comment |
up vote
4
down vote
favorite
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.
tmux
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
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.
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.
tmux
tmux
asked Aug 26 '15 at 9:44
CodyChan
5261513
5261513
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
You can actually do this quite easily by adding a binding or changing the binding of PREFIX s choose-session
to something like PREFIX s choose-tree
. Or you could bind this to a new shortcut like PREFIX t choose-tree
since t
currently just shows a clock that I haven't found a use for.
You can then use the arrow keys to navigate this tree or map h
and l
in vi-choice mode to expand/close the tree.
This does require a certain version of tmux (1.8 or higher I think).
EDIT: There is actually an even faster way to do it than a fuzzy search. Add -u
to the end of the choose-tree mapping and you can select a session with a single letter (listed on the left side of the screen). This is faster than pretty much ANY fuzzy search, because it only requires a key or chord (PREFIX) a shortcut (t) and then a session selection (a-z).
This has just vastly improved my session switching, thanks for the question, and let me know if you still want to do a fuzzy match.
Did you try it yourself? It doesn't work like that.
– CodyChan
Mar 23 '16 at 6:08
2
This has also been asked and partially answered on reddit, reddit.com/r/tmux/comments/3ceq8o/tmux_speed_switch and overall it seems like if you have a HUGE number of sessions, then you may need a better search, like the tmux-sessionist plugin for that. github.com/tmux-plugins/tmux-sessionist Or you could hack a shell command like this guy, brettterpstra.com/2014/05/11/making-my-tmux-life-easier
– dragon788
Mar 24 '16 at 23:20
add a comment |
up vote
0
down vote
accepted
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.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You can actually do this quite easily by adding a binding or changing the binding of PREFIX s choose-session
to something like PREFIX s choose-tree
. Or you could bind this to a new shortcut like PREFIX t choose-tree
since t
currently just shows a clock that I haven't found a use for.
You can then use the arrow keys to navigate this tree or map h
and l
in vi-choice mode to expand/close the tree.
This does require a certain version of tmux (1.8 or higher I think).
EDIT: There is actually an even faster way to do it than a fuzzy search. Add -u
to the end of the choose-tree mapping and you can select a session with a single letter (listed on the left side of the screen). This is faster than pretty much ANY fuzzy search, because it only requires a key or chord (PREFIX) a shortcut (t) and then a session selection (a-z).
This has just vastly improved my session switching, thanks for the question, and let me know if you still want to do a fuzzy match.
Did you try it yourself? It doesn't work like that.
– CodyChan
Mar 23 '16 at 6:08
2
This has also been asked and partially answered on reddit, reddit.com/r/tmux/comments/3ceq8o/tmux_speed_switch and overall it seems like if you have a HUGE number of sessions, then you may need a better search, like the tmux-sessionist plugin for that. github.com/tmux-plugins/tmux-sessionist Or you could hack a shell command like this guy, brettterpstra.com/2014/05/11/making-my-tmux-life-easier
– dragon788
Mar 24 '16 at 23:20
add a comment |
up vote
0
down vote
You can actually do this quite easily by adding a binding or changing the binding of PREFIX s choose-session
to something like PREFIX s choose-tree
. Or you could bind this to a new shortcut like PREFIX t choose-tree
since t
currently just shows a clock that I haven't found a use for.
You can then use the arrow keys to navigate this tree or map h
and l
in vi-choice mode to expand/close the tree.
This does require a certain version of tmux (1.8 or higher I think).
EDIT: There is actually an even faster way to do it than a fuzzy search. Add -u
to the end of the choose-tree mapping and you can select a session with a single letter (listed on the left side of the screen). This is faster than pretty much ANY fuzzy search, because it only requires a key or chord (PREFIX) a shortcut (t) and then a session selection (a-z).
This has just vastly improved my session switching, thanks for the question, and let me know if you still want to do a fuzzy match.
Did you try it yourself? It doesn't work like that.
– CodyChan
Mar 23 '16 at 6:08
2
This has also been asked and partially answered on reddit, reddit.com/r/tmux/comments/3ceq8o/tmux_speed_switch and overall it seems like if you have a HUGE number of sessions, then you may need a better search, like the tmux-sessionist plugin for that. github.com/tmux-plugins/tmux-sessionist Or you could hack a shell command like this guy, brettterpstra.com/2014/05/11/making-my-tmux-life-easier
– dragon788
Mar 24 '16 at 23:20
add a comment |
up vote
0
down vote
up vote
0
down vote
You can actually do this quite easily by adding a binding or changing the binding of PREFIX s choose-session
to something like PREFIX s choose-tree
. Or you could bind this to a new shortcut like PREFIX t choose-tree
since t
currently just shows a clock that I haven't found a use for.
You can then use the arrow keys to navigate this tree or map h
and l
in vi-choice mode to expand/close the tree.
This does require a certain version of tmux (1.8 or higher I think).
EDIT: There is actually an even faster way to do it than a fuzzy search. Add -u
to the end of the choose-tree mapping and you can select a session with a single letter (listed on the left side of the screen). This is faster than pretty much ANY fuzzy search, because it only requires a key or chord (PREFIX) a shortcut (t) and then a session selection (a-z).
This has just vastly improved my session switching, thanks for the question, and let me know if you still want to do a fuzzy match.
You can actually do this quite easily by adding a binding or changing the binding of PREFIX s choose-session
to something like PREFIX s choose-tree
. Or you could bind this to a new shortcut like PREFIX t choose-tree
since t
currently just shows a clock that I haven't found a use for.
You can then use the arrow keys to navigate this tree or map h
and l
in vi-choice mode to expand/close the tree.
This does require a certain version of tmux (1.8 or higher I think).
EDIT: There is actually an even faster way to do it than a fuzzy search. Add -u
to the end of the choose-tree mapping and you can select a session with a single letter (listed on the left side of the screen). This is faster than pretty much ANY fuzzy search, because it only requires a key or chord (PREFIX) a shortcut (t) and then a session selection (a-z).
This has just vastly improved my session switching, thanks for the question, and let me know if you still want to do a fuzzy match.
edited Mar 24 '16 at 23:16
answered Mar 23 '16 at 3:33
dragon788
1659
1659
Did you try it yourself? It doesn't work like that.
– CodyChan
Mar 23 '16 at 6:08
2
This has also been asked and partially answered on reddit, reddit.com/r/tmux/comments/3ceq8o/tmux_speed_switch and overall it seems like if you have a HUGE number of sessions, then you may need a better search, like the tmux-sessionist plugin for that. github.com/tmux-plugins/tmux-sessionist Or you could hack a shell command like this guy, brettterpstra.com/2014/05/11/making-my-tmux-life-easier
– dragon788
Mar 24 '16 at 23:20
add a comment |
Did you try it yourself? It doesn't work like that.
– CodyChan
Mar 23 '16 at 6:08
2
This has also been asked and partially answered on reddit, reddit.com/r/tmux/comments/3ceq8o/tmux_speed_switch and overall it seems like if you have a HUGE number of sessions, then you may need a better search, like the tmux-sessionist plugin for that. github.com/tmux-plugins/tmux-sessionist Or you could hack a shell command like this guy, brettterpstra.com/2014/05/11/making-my-tmux-life-easier
– dragon788
Mar 24 '16 at 23:20
Did you try it yourself? It doesn't work like that.
– CodyChan
Mar 23 '16 at 6:08
Did you try it yourself? It doesn't work like that.
– CodyChan
Mar 23 '16 at 6:08
2
2
This has also been asked and partially answered on reddit, reddit.com/r/tmux/comments/3ceq8o/tmux_speed_switch and overall it seems like if you have a HUGE number of sessions, then you may need a better search, like the tmux-sessionist plugin for that. github.com/tmux-plugins/tmux-sessionist Or you could hack a shell command like this guy, brettterpstra.com/2014/05/11/making-my-tmux-life-easier
– dragon788
Mar 24 '16 at 23:20
This has also been asked and partially answered on reddit, reddit.com/r/tmux/comments/3ceq8o/tmux_speed_switch and overall it seems like if you have a HUGE number of sessions, then you may need a better search, like the tmux-sessionist plugin for that. github.com/tmux-plugins/tmux-sessionist Or you could hack a shell command like this guy, brettterpstra.com/2014/05/11/making-my-tmux-life-easier
– dragon788
Mar 24 '16 at 23:20
add a comment |
up vote
0
down vote
accepted
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.
add a comment |
up vote
0
down vote
accepted
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.
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
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.
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.
answered Nov 30 at 7:37
CodyChan
5261513
5261513
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f225570%2fin-tmux-is-it-possible-to-list-all-panes-in-all-windows%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown