Friday, July 17, 2015

Re: vim (MacVim) locked up

On 2015-07-17 09:05, Eric Weir wrote:
> For the first time ever, vim has locked up on me. It seems my only
> option is to quit without saving.
>
> Is there anyway I can get to the unsaved buffers to save them
> outside vim?

You might have some ".swp" or "_.swp" files around, either in
your working-directory, your home-directory, or in your $TMP
directory. I don't remember exactly where they get stashed, but I
think the default is in the same directory you were working in (your
current working directory). The last letter decrements if you have
multiple buffers, so you'd want to look for "*.sw[a-p]" You can get
Vim to try and recover it with

vim -r .swp
vim -r .swo
vim -r .swn

writing each one where you want it, and then optionally deleting the
swap file once you've recovered what was available.

-tim



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

No comments: