AndrewRadev / vimrunner

Control a vim instance through ruby code
MIT License
238 stars 13 forks source link

doesn't seem to actually kill macvim #34

Closed aaronjensen closed 8 years ago

aaronjensen commented 10 years ago

After a test run, vim.kill only seems to close the vim window, but the macvim application is still running on osx.

AndrewRadev commented 10 years ago

I'm not a mac user, so I don't know how much I can help. What exactly does it mean that the "window is closed"? Could you reopen it and it would hold the same contents? Or is it that the application is "loaded" in the taskbar, but clicking it opens a new Vim? I seem to recall this was a somewhat normal workflow for OS X.

aaronjensen commented 10 years ago

No, you could not reopen it. The way apps work on a mac is a little weird. Basically, an app can be open but have no windows. Clicking on the task bar will either open another window or not, depending on the app. If the app is still open, it will still appear in cmd+tab (like alt+tab on windows) and on the task bar (with a blue dot meaning it's still running).

It's probably not actually safe for you to tell MacVim to quit, since it could close other open mvim windows that have user work. I don't know how to tell if that'd be the case, so this may be something that isn't easily fixable.

AndrewRadev commented 8 years ago

Unfortunately, I can't really make any progress on this front, so I'll go ahead and close the issue.