17
2
If I restart vim after a crash, it'll tell me that a swap file for my file exists, and ask me what to do--open anyway, recover the file, quit, abort, etc. Sometimes it gives me the option to delete the swap file, and that's usually the option I need. Other times, however, it doesn't give me that option for some reason. Why is that, and how can I get vim to allow me to delete swap files from within vim? (Because deleting it manually is a pain.)
+1 for the
:help swap-exists
. I was always confused about the options. – wisbucky – 2019-11-20T02:44:22.9873Oh cool. I see now that when my SSH connection was lost, the vim process was still there in the background somehow. – Jonathan – 2014-04-30T14:17:08.090