On Thu, 4 Feb 2010 10:28:18 -0800, John Magolske wrote:
> To avoid accumulating backup files, I have in my vimrc:
> 
>   set writebackup
>   set nobackup
> 
> Which makes a backup before overwriting a file & removes the backup
> after the file is successfully written. I'm considering using this
> instead:
> 
>   set writebackup
>   set backup
>   set backupcopy=yes
>   set backupdir=/tmp
> 
> So as to avoid the accumulation of backup files over time while
> affording some additional degree of recoverability -- accidentally
> deleted files would be recoverable up until a reboot. Any caveats?
> 
> Regards,
> 
> John
> 
> 

I use the SaveVers plugin
(http://www.vim.org/scripts/script.php?script_id=89). I like it a lot -
maybe because it reminds me of the old VMS days :)

Spencer

-- 
<<< Eagles may soar, but weasels don't get sucked into jet engines >>>
11:29am up 162 days 18:28, 1 user, load average: 0.55, 0.45, 0.33
Registered Linux User #232457 | LFS ID 11703

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to