Skip to content

Commit

Permalink
Merge pull request preservim#107 from alexozer/master
Browse files Browse the repository at this point in the history
Stop Vimux from spewing garbage text
  • Loading branch information
benmills committed Apr 26, 2014
2 parents cf6b8c0 + 5485814 commit fbb873a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/vimux.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbb873a

Please sign in to comment.