Skip to content

Commit 5485814

Browse files
committed
Stop Vimux from spewing garbage text
1 parent cf6b8c0 commit 5485814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vimux.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function! _VimuxNearestIndex()
159159
let views = split(system("tmux list-"._VimuxRunnerType()."s"), "\n")
160160

161161
for view in views
162-
if match(view, "(active)") != -1
162+
if match(view, "(active)") == -1
163163
return split(view, ":")[0]
164164
endif
165165
endfor

0 commit comments

Comments
 (0)