Commit 54bc909
committed
tpipeline_usepane: target the original tmux pane vim forked the job in
When using the tpipeline_usepane option, if someone switches tmux panes
quickly after starting vim, namely before `tmux select-pane -T ...` can
execute, it'll change the pane title of the current pane we're on. To
prevent this from happening, we target the original pane by using
$TMUX_PANE. This variable should exist in every tmux session, but if for
some reason it's not present, tmux falls back to the current pane.1 parent cbaa8b5 commit 54bc909
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments