File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ command VimuxInspectRunner :call VimuxInspectRunner()
11
11
command VimuxScrollUpInspect :call VimuxScrollUpInspect ()
12
12
command VimuxScrollDownInspect :call VimuxScrollDownInspect ()
13
13
command VimuxInterruptRunner :call VimuxInterruptRunner ()
14
- command VimuxPromptCommand :call VimuxPromptCommand ()
14
+ command - nargs =? VimuxPromptCommand :call VimuxPromptCommand (<args> )
15
15
command VimuxClearRunnerHistory :call VimuxClearRunnerHistory ()
16
16
command VimuxTogglePane :call VimuxTogglePane ()
17
17
@@ -37,6 +37,7 @@ function! VimuxRunCommand(command, ...)
37
37
let g: VimuxLastCommand = a: command
38
38
39
39
call VimuxSendKeys (resetSequence)
40
+ echo a: command
40
41
call VimuxSendText (a: command )
41
42
42
43
if l: autoreturn == 1
@@ -131,8 +132,8 @@ function! VimuxClearRunnerHistory()
131
132
endif
132
133
endfunction
133
134
134
- function ! VimuxPromptCommand ()
135
- let l: command = input (_VimuxOption (" g:VimuxPromptString" , " Command? " ))
135
+ function ! VimuxPromptCommand (command , ... )
136
+ let l: command = input (_VimuxOption (" g:VimuxPromptString" , " Command? " ), a: command )
136
137
call VimuxRunCommand (l: command )
137
138
endfunction
138
139
You can’t perform that action at this time.
0 commit comments