Thursday, May 16, 2013

Re: vim: recover an unnamed file

On Thu, May 16, 2013 at 06:53:51PM -0400, ping wrote:
> guys:
> My PC (ubuntu) just restarted by itself due to the (stupid) overheat
> issue, again (I couldn't find a solution on that in a year..)

> but regardless, I had a file that I had been editing for quite a while.
> all of a sudden the PC reloaded, now I'm wondering how can I recover
> that file.

one thing I've found helpful in different circumstances is to set the
'directory' option in my .vimrc to a single known folder (~/.vim-tmp)
-- that way all swap files are created in the same place, facilitating
both recovery and scripting -- I like to make sure there are no
swapfiles before starting an extensive session

sc

--
--
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/groups/opt_out.

No comments: