Skip to content

Commit fbb873a

Browse files
committed
Merge pull request #107 from alexozer/master
Stop Vimux from spewing garbage text
2 parents cf6b8c0 + 5485814 commit fbb873a

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)