forked from Archives/vimux
Stop Vimux from spewing garbage text
This commit is contained in:
parent
cf6b8c08db
commit
54858144f9
@ -159,7 +159,7 @@ function! _VimuxNearestIndex()
|
||||
let views = split(system("tmux list-"._VimuxRunnerType()."s"), "\n")
|
||||
|
||||
for view in views
|
||||
if match(view, "(active)") != -1
|
||||
if match(view, "(active)") == -1
|
||||
return split(view, ":")[0]
|
||||
endif
|
||||
endfor
|
||||
|
Loading…
Reference in New Issue
Block a user