Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I agree, but how do you get notified that 'long-process' finished running?

Even if you poll using CursorHold-like hacks the user still needs to type something.



:!{ long-process ; notify-send "done" ; } &


All that does is display a popup on the desktop, it does nothing to notify/callback to the vimscript code that started the process


Yes. For many things that's what you want. I wasn't trying to say "this will meet all needs and make this entire discussion irrelevant"; I was posting lest anyone find it interesting/useful.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: