applidium/Vim — Issue #8: .swp file access required if Vim is killed by iOS
Author: sedm0784
Created: 2012-01-24 17:43:13+00:00
State: open

If you switch in and out of Vim via the Home button or by tapping on a notification, then it will be suspended and your state is saved. However, if iOS clears Vim out of memory in the interim (because you run other apps and iOS decides it needs the memory) then your Vim session is quit, leaving swap files lying around.

The `.swp` files should stop you from losing any data, but it'd be nicer if the user didn't have to deal with them except if Vim actually crashes.

If the file is in a saved state when Vim quits, then the swap files should be removed (as they would be if the user quits via Vim's quit commands).