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


-- 
John Magolske
http://B79.net/contact

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

Reply via email to