Thursday, November 5, 2020

Re: .swp files



On Thursday, November 5, 2020 at 12:51:57 PM UTC-5, Kevin Reynolds wrote:
Thank you all for your immediate response, I did not expect that.  Truly, thank you.
Every morning when I get on my computer (MX linux) I update and backup.  I am always up to date and secure.
I know I'm human and make mistakes, but I have never had any other editor trash a whole years work before, only vim seems to do that.  I had a similar thing happen with vifm as well.  I was working with it and it trashed 1/3 of my hard disk.  WTF?  A few frantic hours later I found that vifm keeps its own trash files and I was able to restore from there.  Whew!  So I stopped using vifm, just like now I'll never use vim again.  That's a real shame.  I like vim.
I'm no programmer, just a user, and I know I make mistakes, but no other editor has ever trashed a years worth of work before.  I went to my backup and sure enough, that mistake was faithfully duplicated.  I know it was my fault, I know I did something stupid.  But how volatile does a thing have to be to trash all my work like that?  No other editor does that.  If I can't be human and make a mistake without losing all my data, that program, evidently, is out of my control and is too dangerous for me to use.
Thank you again all for your quick responses.  I really like the community for that too.  But it seems as though vim is just far too dangerous for me to use.
Thanks again,
Best,
Kevin


You've had two catastrophic failures with two completely different programs.
I know nothing of vifm, but I've used Vim/MacVim for many years and cannot recall ever losing any data at the fault of Vim.

Vim certainly did not modify your backups, suggesting the problem occurred long before Vim prompted you to recover the file.

A good backup system should provide more than the most recent copy.  I use TimeMachine, but rsync is more than capable of doing the exact same thing.
 
On Thu, Nov 5, 2020 at 3:53 AM Maxim Abalenkov <maxim.a...@gmail.com> wrote:
Hello Kevin,

I'm sorry to hear about the loss of your work. But potentially it is not Vim's problem. Vim is a text editor, not a back-up software. It is our responsibility to back-up work and organise those back-up files. To my mind Vim is already doing a great job in saving all your "historic" edits in temporary files.

Best wishes,
Maxim

Maxim Abalenkov \\ maxim.a...@gmail.com
+44 7 486 486 505 \\ http://mabalenk.gitlab.io

On 5 Nov 2020, at 13:44, Kevin Reynolds <reyke...@gmail.com> wrote:

God Damned Vim.
It keeps trashing my files.  I just lost a file that included everything I did in 2019 for some unknown reason.  I open up the file and vim tells me it's already open.  So I recover it, and 90% of it is gone.  This is not the first time either.  God Damn vim.  I like vim but I will never use it again.  It keeps trashing my files.  God Damn you!

--
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/cfbd522b-760a-4132-9906-6b8ea333228an%40googlegroups.com.

--
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/FB8FAAC4-E731-40CD-B9D1-59BC982B9FF3%40gmail.com.


--
Live a good life:
If there are Gods and they are just, they will welcome you based not on how devoted you have been but based rather on the good things you did while you were alive;
If there are Gods and they are unjust, you should not want to worship them;
If there are no Gods then you will be gone, but you will be remembered for the good things you have done in your life.
 - Marcus Aurelius

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/298e6dc8-fcc2-4128-9b61-bd314f894271o%40googlegroups.com.

No comments: