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 01c0679 commit 7b655a7Copy full SHA for 7b655a7
plugin/vimux.vim
@@ -20,7 +20,7 @@ function! VimuxRunCommandInDir(command, useFile)
20
if a:useFile ==# 1
21
let l:file = shellescape(expand('%:t'), 1)
22
endif
23
- call VimuxRunCommand("cd ".shellescape(expand('%:p:h'), 1)." && ".a:command." ".l:file)
+ call VimuxRunCommand("cd ".shellescape(expand('%:p:h'), 1)." && ".a:command." ".l:file." && cd - > /dev/null")
24
endfunction
25
26
function! VimuxRunLastCommand()
0 commit comments