From 641ed59c224aa29864386c2dd43133fce226c576 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Sun, 8 Feb 2009 00:44:29 +1100 Subject: [PATCH] Vim: Create backup files by copying rather than renaming --- .vim/state.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vim/state.vim b/.vim/state.vim index a0047ed..4c65af7 100644 --- a/.vim/state.vim +++ b/.vim/state.vim @@ -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 -- 2.39.2