On Friday, June 2, 2017 at 3:36:40 PM UTC-5, kwizzz wrote:
> I am having troubles with vim (8.0.586 and 7.4 downloaded from www.vim.org) 
> on Windows 7.
> 
> There seems to be a time stamp issue with swap files where swap files will not
> 
> get removed after closing vim with swap files being 1 second newer than saved
> 
> file; when trying to edit the file later, vim will complain with swap exists.
> 
> Steps to reproduce behaviour:
> 
> open a file (it does not matter if it exists or not) => vim will create
> 
> corresponding swp file
> do a short editing session (only a few (~4) seconds, not too long) and
> 
> immediately save and close it => swp file stays in file system in about 10%
> 
> (with a higher chance if hidden is set)
> 
> 
> Behaviour can be reproduced with a higher probability, if you open vim with a
> 
> file, do a :vimgrep/./* over about 20 or more text files in the folder,
> 
> randomly navigate through the findings (:cn & co) and close vim => some
> 
> opened (sometimes even simply grepped) files leave swap files.
> 
> Tried vim -u NONE with same behaviour.
> 
> Please let me know what to do to provide more information to you, as I am
> 
> somewhat lost here...
> 

It could be a virus scanner preventing Vim from deleting the file if it has it 
open for scanning.

It also could be a problem with a network share (you didn't say if any 
particular location is affected).

You could try experimenting with the 'directory' option to place all your swap 
files in a different local folder, especially if you can put that folder in a 
virus scanner whitelist.

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui