Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Okay, so first of all adding resize-pane -Z after select-pane -L messes tmux somehow and it start to showing something like random letters instead of terminal. But even if this would work properly, I don't think that this is the answer to my question. Imagine I would have two windows in vertical split and then zommed into the left one, then pressed C-w-l. Tmux would unzoom right pane and bring me to the left one and then it would zoom into left one, which isn't what I want. Commented Nov 22, 2016 at 11:45
  • @user1685095 did you give it a try? It all happens so fast you can't visually tell. Commented Nov 22, 2016 at 11:49
  • I told you I did. Tmux screwed the terminal completely after that. It's not about speed it's about wrong logic. If there is a pane in the left I want to switch to it. If there isn't I want to stay in zoom. And what your solution would do AFAIK is it would switch me to the left pane and zoom into it. What I need is a way to determine if there is a window next to the current. Commented Nov 22, 2016 at 11:52