Tmux: select-pane should have an option not to wrap around

Created on 25 Sep 2016  路  4Comments  路  Source: tmux/tmux

If I am in the leftmost pane of a two-pane window, and I use select-pane -L, tmux will switch to the rightmost pane (wrap around). It would be great to have an option to just ignore that command if we're already at the leftmost pane. This happens with all directions, not just left.

Most helpful comment

I'm not sure where this has "been discussed before", but I've been using tmux for a while (more than a year, and it's my main development environment). This definitely would be a great feature to add. If you don't want it, then you don't have to enable it, but I think the argument could be made that it makes sense to have it not wrap. The fact that there's a script, and a fork to fix this should be a pretty good indication that it's a worthwhile feature to add into tmux.

Not even sure if this comment will be seen since it's on a closed ticket, but I thought I would put in my $0.02.

All 4 comments

No. This has been discussed before.

Fork that does it: #501

I'm not sure where this has "been discussed before", but I've been using tmux for a while (more than a year, and it's my main development environment). This definitely would be a great feature to add. If you don't want it, then you don't have to enable it, but I think the argument could be made that it makes sense to have it not wrap. The fact that there's a script, and a fork to fix this should be a pretty good indication that it's a worthwhile feature to add into tmux.

Not even sure if this comment will be seen since it's on a closed ticket, but I thought I would put in my $0.02.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dmd picture dmd  路  4Comments

tamlok picture tamlok  路  3Comments

kevinhwang91 picture kevinhwang91  路  3Comments

edouard-lopez picture edouard-lopez  路  4Comments

alfredopalhares picture alfredopalhares  路  4Comments