Closed nukr closed 2 months ago
I don't use Fish myself and probably won't be working on this, but if somebody else wants to contribute a configuration setting for Fish support that enables alternate shell syntax for any of the bits that need adapting I'd be happy to facilitate merging it.
A simple work around that works with fish is to use VimuxRunCommand
and change to the directory of the current file. In the example below, I also suffix the total command with fish's prevd command to return to the previous working directory after the command finishes:
map <Leader>rb :call VimuxRunCommand("cd " . expand("%:p:h") . " && DoSomethingInteresting ; prevd")
When I :call VimuxRunCommandInDir("go test", 0) I got result
Because fish shell can not use
()
surround command, and usecommand; and command
instead ofcommand && command
How can I fix it?