Tuesday, April 10, 2012

Re: Swap file already exists

On Tue, April 10, 2012 17:48, Tim Chase wrote:
> On 04/10/12 10:19, Ben Fritz wrote:
>> If you look closely at the "swap file exists" message, you
>> should see a line that says "modified: no" or "modified: yes".
>
> Seriously?! I've been using vim for over a decade, hit this
> message NUMEROUS times, and have NEVER noticed this line buried
> in there. This is so helpful when my work Windows machine
> decides to spontaneously reboot overnight on its own whim.
>
> THANK YOU for pointing this out!

I think, this was introduced with Vim 7.3

You can also find there the information, which Vim process has opened
a file currently, so this helps determining the right Vim process
for editing a file. (Unfortunately, this is not available
via the script interface and therefore the recover plugin can't
make use of this information)

regards,
Christian

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

No comments: