tmux-cluster
tmux-cluster copied to clipboard
Get out of synchronized pane mode
Hey, thanks for writing this! I use it all the time on OSX + iterm2 (not that iterm2 needs tmux, but I'm used to xterm). I can't get out of synchronized panes mode. I'm not sure if this is a bug or expected behavior.
Hey @coutotyler, I have a few questions:
- Is your version of tmux-cluster up to date?
- Are you able to change synchronization in manually-created tmux sessions?
- Have you seen issue #2, which seems to be similar? That issue should be fixed in the latest version, although I haven't tested it in OSX, so maybe there's a corner case I'm missing.
Hey David, thanks for responding. I am up to date:
[tcouto@tcouto tmux-cluster]$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = https://github.com/davidscholberg/tmux-cluster.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[tcouto@tcouto tmux-cluster]$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
I am able to synchronize and unsynchronize panes in normal tmux sessions. I'll take a look at number 2 a bit later.
Please run git show --no-patch --format=oneline
to see what the top commit is.
[tcouto@tcouto tmux-cluster]$ git show --no-patch --format=oneline
eb531dd7bb0f0524934bad764814b412d1ce56f1 README: updated tmux homepage URL
Hey @onlyanegg, sorry that I haven't gotten to this in a while.
It looks like your tmux-cluster is up to date, so that's not the problem.
Did you get a chance to look at issue #2 yet? There shouldn't be any difference between sessions created by tmux-cluster versus sessions created normally, so if the problem is not nested tmux sessions then I'm at a loss.
Unfortunately I don't have an OSX machine, so if this is an OSX-specific issue, that makes it difficult for me to troubleshoot this issue.
No worries. I took a brief look at the source, and I couldn't see anything that stood out either. Thanks for your help.
On Jul 15, 2016 7:01 AM, "David Scholberg" [email protected] wrote:
Hey @onlyanegg https://github.com/onlyanegg, sorry that I haven't gotten to this in a while.
It looks like your tmux-cluster is up to date, so that's not the problem.
Did you get a chance to look at issue #2 https://github.com/davidscholberg/tmux-cluster/issues/2 yet? There shouldn't be any difference between sessions created by tmux-cluster versus sessions created normally, so if the problem is not nested tmux sessions then I'm at a loss.
Unfortunately I don't have an OSX machine, so if this is an OSX-specific issue, that makes it difficult for me to troubleshoot this issue.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davidscholberg/tmux-cluster/issues/3#issuecomment-232958544, or mute the thread https://github.com/notifications/unsubscribe-auth/AHX3uHV3Y5fFaLK1f2JuPEeSdcyIVi4Pks5qV5KcgaJpZM4I5-SZ .
I don't see any documentation on how to get out of synchronized mode. What is the method to do so to see if it works?
Oh, I see in the source it is a tmux command set-window-option synchronize-panes off/on
. We should put this in the README.md.
We should add this to the readme:
bind-key a set-window-option synchronize-panes\; display-message "synchronize-panes is now #{?pane_synchronized,on,off}
https://stackoverflow.com/a/26774547/292408
Although, I did use X
instead as it made more sense to me.
And possibly add a tip that says "If you enter fullscreen mode for a pane, it will not synchronize commands to the other panes", this is really useful for a quick non-synchronized command.