Tuesday, February 1, 2011

Re: Help, please

On Tue, February 1, 2011 12:41 pm, Tim Chase wrote:
> I've occasionally wished for a "--wtf" option to vim that would
> effectively open both the unrecovered and recovered versions in a
> diffsplit allowing me to compare them. Currently I have to
>
> 1) open the file with "-r" to recover
> 2) write the file to a temp file
> 3) quit vim
> 4) delete the swapfile (remembering "/a" on Dos/Win32)
> 5) vimdiff the original and the temp file
> 6) make any fixes and save the file back out
> 7) delete the tempfile
>
> Some easy means to do steps 1-5,7 would be most welcome.

Forgive me for shamelessly mentioning my plugin recover.vim
http://www.vim.org/scripts/script.php?script_id=3068
But that was exactly the reason why I wrote it.

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:

Post a Comment