Saturday, May 5, 2012

RE: Recovery Question

cjsmall wrote:
> I have a long standing question regarding vim's recovery
> mode. When you have a crash and then recover a file, why
> doesn't vim remove the .swp file after the recovery, as vi(1)
> does? You are left to remember to clean up manually after a
> recovery or you will get the same recovery message over and
> over. I have never understood the logic behind this.

My guess is that Vim is being cautious and will not delete a
file that might contain useful text. I think I have only needed
recovery mode once in several years, and that is how it should
be. If using a system where crashes are more frequent, there is
a more severe problem than dealing with a need to delete an
unwanted swap file.

John

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment