asyncrun.vim icon indicating copy to clipboard operation
asyncrun.vim copied to clipboard

[Question] Can Asycncrun be configured to run in another build/run server?

Open vinodkri opened this issue 5 years ago • 2 comments

Hi, @skywind3000

Our development environment is set up in such a way that for coding/development we use a development server. To and build our code, there is a separate build/run servers. I would want to run the asyncrun in the development server which would build/run the code in build servers and populate the results back in the quick fix list of the development server.

Is this possible with asyncrun ? is there a way to configure these?

I read through the doc and Readme I didn't find any info on it. But I found VIM_SVRNAME, but I couldn't figure out if I could use this somehow to achieve what I want.

Thanks for your cool plugin.

vinodkri avatar Sep 09 '20 05:09 vinodkri

VIM_SVRNAME is for another vim instance in the local machine, not for a remote host.

Your question can be achieved by:

:AsyncRun ssh xxx.xxx.xxx.xxx  COMMAND

or you may need a separated script to sync your code to the server and execute build jobs:

:AsyncRun my_remote_build_script.sh

skywind3000 avatar Sep 09 '20 06:09 skywind3000

@skywind3000 Thanks for the quick reply. I will try one of the options.

vinodkri avatar Sep 09 '20 06:09 vinodkri