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 7db6b2f commit c844c7fCopy full SHA for c844c7f
1 file changed
plugin/vimux.vim
@@ -96,7 +96,7 @@ endfunction
96
97
function! VimuxOpenRunner() abort
98
let existingId = s:existingRunnerId()
99
- if existingId !=# ''
+ if !exists('g:VimuxRunnerIndex') && existingId !=# ''
100
let g:VimuxRunnerIndex = existingId
101
else
102
let extraArguments = VimuxOption('VimuxOpenExtraArgs')
@@ -329,7 +329,8 @@ endfunction
329
330
function! s:hasRunner(index) abort
331
let runnerType = VimuxOption('VimuxRunnerType')
332
- return match(VimuxTmux('list-'.runnerType."s -F '#{".runnerType."_id}'"), a:index)
+ let allPanes = runnerType ==# 'pane' ? '-a ' : ''
333
+ return match(VimuxTmux('list-'.runnerType."s ".allPanes."-F '#{".runnerType."_id}'"), a:index)
334
endfunction
335
336
function! s:autoclose() abort
0 commit comments