Sunday, October 15, 2017

batch swap file recovery

I lost some work in a git repo (it was deleted - I've recovered a
point in time - but vim has newer data). So, is there a way to give
vim a list of files and try to recover the newest version in the swap
file and close? I know, it may give old data, but this should be
pretty easy to pick out in git (based on additions/subtractions)?

something like:
find -type f -print0 | xargs -0 -i{} vim ..... {}

?

--
--
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/d/optout.

No comments: