momodalo / vimtouch

vimtouch
Apache License 2.0
349 stars 71 forks source link

Shuts down unexpectedly when not in use, closing any open documents without saving. #43

Closed treestryder closed 11 years ago

treestryder commented 11 years ago

What steps will reproduce the problem?

  1. Open a large, important text file.
  2. Leave VimTouch open.
  3. Move on with life.
  4. Come back to work on the text file.

What is the expected output? What do you see instead? I expect to be able to start working on my file immediately and find that instead, Vim is started up fresh. Once I've hunted down the file again, it opens in recovery mode, with an empty document at the bottom of the screen.

What version of the product are you using? On what operating system? VimTouch 1.7 Android 4.1.1 on an Asus TF300

Please provide any additional information below. I am not sure exactly what could be done about this, since Vim doesn't expect to run in such an environment as Android. Maybe auto-saving the files as Android closes Vim, writing the file names to a