I've got a script I made mapped to a key in vim.
It runs fine, except that immediately after, vim terminates the shell, and that's what causes the script to not work right.
How can I get this to work right?
map your script using :!nohup COMMAND & and it should work. This will create a nohup.out file with any output from the command
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With