Christian Brabandt wrote:
> On Do, 07 Dez 2017, Gary Johnson wrote:
> 
> > If I try to recover a file using the :recover command and there is
> > more than one swap file for that file, Vim presents a list of "Swap
> > files found" and asks me to "Enter number of swap file to use".
> > Vim then suggests that I "may want to delete the .swp file now."  To
> > do that, I have to write down or remember which swap file I chose so
> > that I can delete the right one when I've verified the recovered
> > file's contents.
> > 
> > Is there some way to have Vim tell me which swap file it used to
> > recover the current file?
> 
> No and even worse, even if one does :au SwapExists :let 
> b:swapname=v:swapname it looks like it will always contain the first 
> swapfile found, not the one actually selected.
I thought it mentioned "using swap file xxx".
We can mention the name again later.
Hmm, the hit-enter prompt is in the wrong place, let me fix that as
well.
-- 
Where do you want to crash today?
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
-- 
-- 
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.
Saturday, December 9, 2017
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment