vim-obsession icon indicating copy to clipboard operation
vim-obsession copied to clipboard

Just a question about how you guys handle swap files

Open unphased opened this issue 9 years ago • 4 comments

You see, my Macbook likes to freeze a lot. It's not enough to warrant me to be really upset (for more than a few minutes when it happens, as it averages once every 2 weeks) but it's enough that it gives me reason to set up a plugin such as this one.

Now what happens when I go and re-open with vim -S after my machine dies is that I get a flood of "What should I do with your swap file".

How do you guys deal with this? I find that I usually try to mash D, but this is not really ideal for the reason that if I keep pressing D I will eventually start to erase lines from some buffers.

If I don't mash D, say I Recover with R, I am re-presented with the prompt the next time because Vim is just so nice/dumb. Not to mention R will lead me to replace some letter in some buffer with the r character.

The other obvious reason why mashing D sucks is that I'm just actually choosing to throw away any unsaved buffers.

Honestly this wouldnt be problematic if my goddamned fruit machine will just stop freezing up.

unphased avatar Dec 26 '14 03:12 unphased