Stop Vimux from spewing garbage text

fix-tmux-next-3dot4
Alex Ozer 10 years ago
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…
Cancel
Save