2011/8/2 David Ohlemacher :
> 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
On Tue, August 2, 2011 5:39 pm, Gary Johnson wrote:
> I often encountered that problem in situations where I didn't have
> control over how Vim opened a file, so training my fingers wouldn't
> have helped. I often have several Vim instances open containing
> files I'm editing, so they have swap fi
On 2011-08-02, Christian Brabandt wrote:
> On Tue, August 2, 2011 3:27 pm, George Dinwiddie wrote:
> > On 8/2/11 1:44 AM, Christian Brabandt wrote:
> >> I have been thinking lately if it would be a good idea, if Vim would
> >> only create a swap file, when it detects, that a change to the buffer
>
Reply to message «Re: swap files reverting my work erroneously»,
sent 19:05:34 02 August 2011, Tuesday
by Gary Johnson:
> I started using Unix and vi in 1985 in an environment where people
> would inadvertently unplug serial cables or coaxial LAN cables, and
> where occasional lightnin
On Tue, August 2, 2011 5:24 pm, Gary Johnson wrote:
> I have several plugins that do that for various SCMs and I have
> DiffOrig in my ~/.vimrc. I wasn't saying that I was in need of a
> way to see my changes, only that persistent undo is not a good
> solution for the problem under discussion.
Ok
On 2011-08-02, Christian Brabandt wrote:
> On Tue, August 2, 2011 4:45 pm, Gary Johnson wrote:
> > On 2011-08-02, ZyX wrote:
> >> Reply to message «Re: swap files reverting my work erroneously»,
> >> sent 08:20:31 02 August 2011, Tuesday
> >> by Gary J
On 8/2/11 10:54 AM, Christian Brabandt wrote:
On Tue, August 2, 2011 3:27 pm, George Dinwiddie wrote:
On 8/2/11 1:44 AM, Christian Brabandt wrote:
I have been thinking lately if it would be a good idea, if Vim would
only create a swap file, when it detects, that a change to the buffer
has been
On 2011-08-02, Tony Mechelynck wrote:
> On 2011-08-02, Gary Johnson wrote:
>> On 02/08/11 06:38, ZyX wrote:
> >>>I have swap files to prevent myself from editing one file in two vim
> >>>instances simultaneously. Though sometimes something goes wrong and vim
> >>>or the whole system crashes, but I
On Tue, August 2, 2011 3:27 pm, George Dinwiddie wrote:
> On 8/2/11 1:44 AM, Christian Brabandt wrote:
>> I have been thinking lately if it would be a good idea, if Vim would
>> only create a swap file, when it detects, that a change to the buffer
>> has been made. But not just when viewing a file.
On Tue, August 2, 2011 4:45 pm, Gary Johnson wrote:
> On 2011-08-02, ZyX wrote:
>> Reply to message «Re: swap files reverting my work erroneously»,
>> sent 08:20:31 02 August 2011, Tuesday
>> by Gary Johnson:
>>
>> > The trouble with
>> > continually sa
On Tue, 2011-08-02 at 07:45 -0700, Gary Johnson wrote:
> On 2011-08-02, ZyX wrote:
> > Reply to message «Re: swap files reverting my work erroneously»,
> > sent 08:20:31 02 August 2011, Tuesday
> > by Gary Johnson:
> >
> > > The trouble with
> > >
On 2011-08-02, ZyX wrote:
> Reply to message «Re: swap files reverting my work erroneously»,
> sent 08:20:31 02 August 2011, Tuesday
> by Gary Johnson:
>
> > The trouble with
> > continually saving, though, is that you lose your reference for the
> > changes you
On 8/2/11 1:44 AM, Christian Brabandt wrote:
I have been thinking lately if it would be a good idea, if Vim would
only create a swap file, when it detects, that a change to the buffer
has been made. But not just when viewing a file.
That is usually what happens a lot to me. I have 1 file open an
On 02/08/11 07:44, Christian Brabandt wrote:
Hi Gary!
On Mo, 01 Aug 2011, Gary Johnson wrote:
don't put your swap files elsewhere). If you open foo again, Vim
will tell you that it has found a swap file, etc. Regardless of you
choice, Vim will use a new swap file for the current buffer, name
Hi ZyX!
On Di, 02 Aug 2011, ZyX wrote:
> by Gary Johnson:
> > The trouble with
> > continually saving, though, is that you lose your reference for the
> > changes you've made to the file since you started editing. That's
> > not always important, but sometimes it's very handy. And having
> > sw
Hi Gary!
On Mo, 01 Aug 2011, Gary Johnson wrote:
> don't put your swap files elsewhere). If you open foo again, Vim
> will tell you that it has found a swap file, etc. Regardless of you
> choice, Vim will use a new swap file for the current buffer, named
> .foo.swo. That file will be deleted a
On 02/08/11 06:38, ZyX wrote:
Reply to message «Re: swap files reverting my work erroneously»,
sent 08:20:31 02 August 2011, Tuesday
by Gary Johnson:
The trouble with
continually saving, though, is that you lose your reference for the
changes you've made to the file since you started ed
Reply to message «Re: swap files reverting my work erroneously»,
sent 08:20:31 02 August 2011, Tuesday
by Gary Johnson:
> The trouble with
> continually saving, though, is that you lose your reference for the
> changes you've made to the file since you started editing. That&
On 2011-08-02, ZyX wrote:
> Reply to message «Re: swap files reverting my work erroneously»,
> sent 04:27:35 02 August 2011, Tuesday
> by Gary Johnson:
>
> > will tell you that it has found a swap file, etc. Regardless of you
> > choice, Vim will use a new swap fil
Reply to message «Re: swap files reverting my work erroneously»,
sent 04:27:35 02 August 2011, Tuesday
by Gary Johnson:
> will tell you that it has found a swap file, etc. Regardless of you
> choice, Vim will use a new swap file for the current buffer, named
> .foo.swo. That fil
On 02/08/11 01:50, David Ohlemacher wrote:
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
On 2011-08-01, David Ohlemacher wrote:
> 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?
It would be more correct to say that if y
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, t
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
I have noticed several times that swap files are created and remain
after exiting vim properly. When I start vim again later, I have been
manually allowing the recover. I was assuming that what is in the swap
file was the same as in the buffer when I last exited. It took me a bit
to figure ou
25 matches
Mail list logo