As discussed in #19, there's a lot of sense in providing an option to keep the spawned Vim around after the script has exited. Currently, this works with the :foreground => false option for gvim. It might be a good idea to look into providing similar functionality for headless vim. I also think it might make more sense to have a separate method instead to detach the vim instance from the spawning script.