We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efa6a9a commit d306d43Copy full SHA for d306d43
plugin/vimux.vim
@@ -81,9 +81,12 @@ function! VimuxCloseRunner()
81
endfunction
82
83
function! VimuxZoomRunner()
84
- if exists("g:VimuxRunnerPaneIndex")
85
- call system("tmux resize-pane -Z -t ".g:VimuxRunnerPaneIndex)
86
- unlet g:VimuxRunnerPaneIndex
+ if exists("g:VimuxRunnerIndex")
+ if _VimuxRunnerType() == "pane"
+ call system("tmux resize-pane -Z -t ".g:VimuxRunnerIndex)
87
+ elseif _VimuxRunnerType() == "window"
88
+ call system("tmux select-window -t ".g:VimuxRunnerIndex)
89
+ endif
90
endif
91
92
0 commit comments