-
Notifications
You must be signed in to change notification settings - Fork 25
Disowning the process from vim #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I actually don't know the answer to this off the top of my head, but I'm sure there is a way to do it using either job control or a shell background function. This is a pretty general purpose question though, you might have better lock getting an answer on https://vi.stackexchange.com about how to background or disown an action like this. If it turns out it has to to be done on the shell command then we probably need to setup an option of some kind to pass that through at the right point. |
Could it be like the vimtex background compile after save? |
Yea something like that would be great, or even better would be live preview like NeoTex |
@urimu You don't really need a plugin for that, you can make it happen pretty easily with three pieces:
Here is an example I did a while pack using |
I have added this to my .vimrc to compile rmarkdown
Which will render and open the pdf but the process is not disowned so I can't continue editing the file in vim. I tried adding
<bar>&<Space>disown
behind it but that just stops the rendering as theRMarkdown
command reads it a another parameter.The text was updated successfully, but these errors were encountered: