diff --git a/plugin/vimux.vim b/plugin/vimux.vim index 3b5562b..6be8be0 100644 --- a/plugin/vimux.vim +++ b/plugin/vimux.vim @@ -43,7 +43,7 @@ function! VimuxRunCommandInDir(command, useFile) endfunction function! VimuxRunLastCommand() - if exists('g:VimuxRunnerIndex') + if exists('g:VimuxLastCommand') call VimuxRunCommand(g:VimuxLastCommand) else echo 'No last vimux command.'