From 5f999f4dc4652bf0910a65b5c69c2da032d563e7 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Tue, 16 Feb 2021 10:05:58 +0300 Subject: [PATCH] Fix variable mismatch looking for previous command --- plugin/vimux.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'