Monday, April 9, 2012

Re: Swap file already exists

David Ohlemacher wrote:
> While Marcin's response it correct, I would like to add a different
> emphasis. I asked a similar question months ago.
>
> Specifically, when I open a file and find a swap file, I _almost
> always_ want to _delete_ that swap file _immediately_. Rarely, I'll
> want to recover. If I did, it would be only be five minutes later
> after correcting the swap file creating event.
>
> Ignoring seems dangerous. It leaves that swap file around. Next time
> you edit the file, you again will be prompted. However the swap may be
> way out of date. Using it might blow away newer edits.
>
> There is probably a use case for ignoring swap files, but not in my
> work flow.
:he 'noswf'

Of course, when you did your "new edits", you were given a requestor
about recovering, so you had to have done so deliberately.

Regards,
Chip Campbell

--
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: