Replies: 1 comment 6 replies
-
Don't use |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes when I concurrently type commands to multiple servers using synchronize-panes, I need to exclude one or two of them.
So I'd like to have a shortcut to toggle input in a pane when synchronize-panes is on, in a tmux window. Currently I manually type
select-pane -d -t {number}
to disable input, thenselect-pane -e -t {number}
to enable input again.It suits me either to disable input on current pane, or to press the shortcut and then the number of pane. For the first option, I tried
select-pane -d -t "#{pane_index}"
and"#P"
but it didn't work; I believed that"#{pane_index}"
is a variable for the number of current pane; apparently it's not.Any ideas how to achieve?
Beta Was this translation helpful? Give feedback.
All reactions