momodalo / vimtouch

vimtouch
Apache License 2.0
348 stars 71 forks source link

Save on exit #74

Open gregwebs opened 9 years ago

gregwebs commented 9 years ago

Android can choose to kill VimTouch, but VimTouch does not seem to save the file.

phrohdoh commented 9 years ago

I imagine this is due to abruptly ending the process instead of running over the standard exit method (whatever that may be for the application in question). Would be nice to fix if possible. :+1:

gregwebs commented 9 years ago

I could not use VimTouch because of this. I am pretty sure there is some kind of destroy hook available. If someone pointed out the save routine that needs to be called there this would be a pretty easy fix.