From 00f49a2667e8d518fe168339de04f28ab10beb61 Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 9 Jul 2021 22:29:30 +0800 Subject: [PATCH] Add backup for files --- core/options.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/core/options.vim b/core/options.vim index e65d9d8..4a39f32 100644 --- a/core/options.vim +++ b/core/options.vim @@ -33,6 +33,7 @@ if !isdirectory(g:backupdir) endif let &backupdir=g:backupdir +set backup " create backup for files set backupcopy=yes " copy the original file to backupdir and overwrite it " General tab settings