Loading ...
Sorry, an error occurred while loading the content.

Re: changing backup frequency

Expand Messages
  • iago mosqueira
    Try the savevers plugin by Ed Ralston at vim.sf.net, it saves concurrent backups. Maybe you could then have a way of deleting all of them but the last ones.
    Message 1 of 3 , Nov 30, 2001
    • 0 Attachment
      Try the savevers plugin by Ed Ralston at vim.sf.net, it saves concurrent
      backups. Maybe you could then have a way of deleting all of them but the
      last ones.

      iago


      ----- Original Message -----
      From: "Cory T. Echols" <ctechols@...>
      To: <vim@...>
      Sent: 30 November 2001 19:21
      Subject: Re: changing backup frequency


      > On 11/30, Culley Harrelson wrote:
      > > On my windows system I've configured backups with the following:
      > >
      > > :set backup
      > > :set backupext=.bak
      > > :set backupdir=c:\vim\bak\1,c:\vim\bak\2,c:\vim\bak\3
      > >
      > > This works great but I save my files all the time and it isn't
      > > particularly useful to go to a backup of something I saved 10 seconds
      > > ago. Has anyone ever tweaked backup to *only* backup the first save
      > > of a session (or the first save of a day) for any given file? I would
      > > even be interested in figuring out how to do some sort of archiving
      > > for, say, the last 3 or 4 saves (once again for a session or a day).
      > > I use source control but sometimes I get lazy and don't check in all
      > > the time, and often I'm editing files that arent in source control...
      >
      > You could try using the 'patchmode' option.
      >
      > see :he patchmode.
      >
      > --
      > Cory T. Echols
      > coryechols@...
    Your message has been successfully submitted and would be delivered to recipients shortly.