Skip to content

Commit ba2b205

Browse files
committed
Change pane(s) -> view(s) for clarity
Slightly pedantic but it reduces possible confusion.
1 parent ff54646 commit ba2b205

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugin/vimux.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ function! _VimuxTmuxWindowIndex()
140140
endfunction
141141

142142
function! _VimuxNearestIndex()
143-
let panes = split(system("tmux list-"._VimuxRunnerType()."s"), "\n")
143+
let views = split(system("tmux list-"._VimuxRunnerType()."s"), "\n")
144144

145-
for pane in panes
146-
if match(pane, "(active)") == -1
147-
return split(pane, ":")[0]
145+
for view in views
146+
if match(view, "(active)") == -1
147+
return split(view, ":")[0]
148148
endif
149149
endfor
150150

0 commit comments

Comments
 (0)