Recover a deleted file from its swap file

2010-05-06 Thread Nazri Ramliy
I have a vim swap file for a file that I have just deleted. It is possible to get vim to (sort of) recover the content of the file referred to by the swap file? Thanks in advance for any help. nazri. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply bel

Re: Recover a deleted file from its swap file

2010-05-06 Thread meino . cramer
Nazri Ramliy [10-05-07 05:32]: > I have a vim swap file for a file that I have just deleted. > > It is possible to get vim to (sort of) recover the content of the file > referred to by the swap file? > > Thanks in advance for any help. > > nazri. > > -- > You received this message from the "v

Re: Recover a deleted file from its swap file

2010-05-06 Thread Jeffrey 'jf' Lim
On Fri, May 7, 2010 at 11:29 AM, Nazri Ramliy wrote: > I have a vim swap file for a file that I have just deleted. > > It is possible to get vim to (sort of) recover the content of the file > referred to by the swap file? > > Thanks in advance for any help. > > vim "filename", and choose the reco

Re: Recover a deleted file from its swap file

2010-05-06 Thread Tony Mechelynck
On 07/05/10 05:29, Nazri Ramliy wrote: I have a vim swap file for a file that I have just deleted. It is possible to get vim to (sort of) recover the content of the file referred to by the swap file? Thanks in advance for any help. nazri. Not sure: - Does the swap file still exist? (usually

Re: Recover a deleted file from its swap file

2010-05-09 Thread Nazri Ramliy
Thank you all for your enlightening responses. My problem is gone (it's was a PEBKAC). Here's what happened: I edited a file, typed something in, then decided that the file is better saved in a different directory so I moved the file to that other directory. I typed more stuff into the file and

Re: Recover a deleted file from its swap file

2010-05-09 Thread Tony Mechelynck
On 10/05/10 03:39, Nazri Ramliy wrote: Thank you all for your enlightening responses. My problem is gone (it's was a PEBKAC). Here's what happened: I edited a file, typed something in, then decided that the file is better saved in a different directory so I moved the file to that other directo

Re: Recover a deleted file from its swap file

2010-05-09 Thread Christian Brabandt
Hi Tony! On Mo, 10 Mai 2010, Tony Mechelynck wrote: > ( ;-) ) all on one line, and you will usually know whether or not you're > on Windows, so you can instead type either > > :!rm # > or > :!del # > > which will remove the alternate file (the file which you edited just > before t