Skip to content

Commit a27583b

Browse files
committed
Use last-pane when we know the type is 'pane'
1 parent ddbb943 commit a27583b

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
@@ -128,7 +128,7 @@ function! VimuxTogglePane() abort
128128
if VimuxOption('VimuxRunnerType') ==# 'window'
129129
call VimuxTmux('join-pane -s '.g:VimuxRunnerIndex.' '.s:vimuxPaneOptions())
130130
let g:VimuxRunnerType = 'pane'
131-
call VimuxTmux('last-'.VimuxOption('VimuxRunnerType'))
131+
call VimuxTmux('last-pane')
132132
elseif VimuxOption('VimuxRunnerType') ==# 'pane'
133133
call VimuxTmux('break-pane -d -s '.g:VimuxRunnerIndex)
134134
let g:VimuxRunnerType = 'window'

0 commit comments

Comments
 (0)