We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 784b283 commit 59b1d28Copy full SHA for 59b1d28
plugin/vimux.vim
@@ -177,11 +177,10 @@ endfunction
177
function! VimuxPromptCommand(...)
178
let command = a:0 ==# 1 ? a:1 : ''
179
if VimuxOption('VimuxCommandShell')
180
- let l:cancelreturn = 'shellcmd'
+ let l:command = input(VimuxOption('VimuxPromptString'), command, 'shellcmd')
181
else
182
- let l:cancelreturn = v:false
+ let l:command = input(VimuxOption('VimuxPromptString'), command)
183
endif
184
- let l:command = input(VimuxOption('VimuxPromptString'), command, l:cancelreturn)
185
if VimuxOption('VimuxExpandCommand')
186
let l:command = join(map(split(l:command, ' '), 'expand(v:val)'), ' ')
187
0 commit comments