]> code.delx.au - dotfiles/commitdiff
Vim: Create backup files by copying rather than renaming
authorJames Bunton <jamesbunton@delx.net.au>
Sat, 7 Feb 2009 13:44:29 +0000 (00:44 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Sat, 7 Feb 2009 13:44:29 +0000 (00:44 +1100)
.vim/state.vim

index a0047ed95ee732ed309e9ceb29acd45b0fc98378..4c65af77225e1f9a59ad576eba1bf66aaa75127c 100644 (file)
@@ -17,6 +17,9 @@ if has("unix")
        set backupdir=~/tmp/vimbak
 endif
 
+" Create backups by copying files to backup directory instead of renaming
+set backupcopy=yes
+
 " Use modelines
 set modelines=5