So once you have a swap file from a crash its there forever. That is until you delete the swp manually. And if you hit recover, your _newer_ file contents will be wiped out by an _older_ swap file's contents?

I assumed (word chosen carefully), that once you've recovered from a swap file, the swap would be updated to mirror the current buffer.

I think noswapfile will checked into my env repo. When you have 30+ buffers open, this is not very useful to me.

Thanks Paul. My Vim book does not mention swp files. The online help says "The swap file is deleted as soon as Vim stops editing the file". But there may be more than one!

-d

On 08/01/2011 06:04 PM, Paul wrote:
The swap file stays around when vim crashes, for example. When it asks you if 
you want to recover, note that it also warns you to check the file and manually 
remove the swap file. It won't remove it for you. If you don't remove it, vim 
will detect it every time you open the file, and ask you to recover from it.


--
David Ohlemacher
Senior Software Engineer
Scientific Solutions Inc.
99 Perimeter Rd Nashua New Hampshire 03063
603-880-3784

. o .
. . o
o o o

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

Reply via email to