chrisbra / Recover.vim

A Plugin to show a diff, whenever recovering a buffer
http://www.vim.org/scripts/script.php?script_id=3068
248 stars 25 forks source link

Zero diff = zero prompt #13

Closed rking closed 12 years ago

rking commented 12 years ago

If we could solve https://github.com/chrisbra/Recover.vim/issues/12 well enough to be sure no other vim owns the file, then it would be nice if it would:

Check for no diffs from .sw? file and just delete the thing.

Probably it should show a message that it happened (perhaps with a timestamp of the swapfile), but other than that, just roll on.

chrisbra commented 12 years ago

Well, to fix issue #15, the default will be now to just delete the found swapfile, if no differences are found. So you can just press enter and be done with it. Until a recent patch for issue #12 is found, this seems like a good workaround