Tuesday, March 14, 2017

Re: How to delete hidden .swap files (.sw?) if there are no changes?

Hi L!

On Di, 14 Mär 2017, L A Walsh wrote:

> Paul wrote:
> >You could try https://github.com/chrisbra/Recover.vim
> ---
> Thanks Paul, it looks like it might be "morphable" into what
> I want. It currently has a bug where it defaults the action
> to "Delete" when there are no diffs -- **whether or not**
> the file is already open in another window (and just
> not changed).

I am fairly certain it doesn't.

> FWIW -- it's a bit "overkill" for what I wanted, as
> it also provides option to 'diff', automatically if the
> swap-version & disk version are different. I don't know
> if it is needed, but it seems to use python -- maybe

Not it doesn't

> only the diff needs that? The diff is handy, as
> I usually do a diff anyway if I find changes, BUT
> not detecting file already being edited limits its
> usefulness.
>
> (Submitted bug & rfe on github site -- hopefully author
> is still around and gets notices... )

Author here.

Best,
Christian
--
Wer ihn als einen Gott der Liebe preist, denkt nicht hoch genug von
der Liebe selber. Wollte dieser Gott nicht auch Richter sein? Aber der
Liebende liebt jenseits von Lohn und Vergeltung.
-- Friedrich Wilhelm Nietzsche (Zarathrustra IV)

--
--
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:

Post a Comment