Change pane(s) -> view(s) for clarity

Slightly pedantic but it reduces possible confusion.
fix-tmux-next-3dot4
Josh Davis 11 years ago
parent ff54646761
commit ba2b2050b0

@ -140,11 +140,11 @@ function! _VimuxTmuxWindowIndex()
endfunction
function! _VimuxNearestIndex()
let panes = split(system("tmux list-"._VimuxRunnerType()."s"), "\n")
let views = split(system("tmux list-"._VimuxRunnerType()."s"), "\n")
for pane in panes
if match(pane, "(active)") == -1
return split(pane, ":")[0]
for view in views
if match(view, "(active)") == -1
return split(view, ":")[0]
endif
endfor

Loading…
Cancel
Save