Wednesday, May 1, 2013

Re: Removing junk .swp files

2013-05-01 21:16, Ben Fritz skrev:
> On Wednesday, May 1, 2013 2:12:58 PM UTC-5, Ben Fritz wrote:
>>
>> Such .swp files should never exist if you always exit Vim normally.
>>
>> Only when Vim crashes or gets terminated abnormally will you have such files hanging around.
>>
>
> Also there may be swap files associated with a DIFFERENT Vim instance, especially if you or others edit files on a network location using Vim from multiple computers.
>
> Deleting them automatically might interfere with other Vim instances. I think you will always want a confirmation step at least before deleting swap files.
>

I know all that. But you may get junk swap files hanging around
if you inadvertently compress a directory containing files which
are currently open in Vim at compression time. Stupid, but there
you have it!

/bpj

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment