Add backup for files

This commit is contained in:
jdhao
2021-07-09 22:29:30 +08:00
parent 632761391b
commit 00f49a2667
+1
View File
@@ -33,6 +33,7 @@ if !isdirectory(g:backupdir)
endif endif
let &backupdir=g:backupdir let &backupdir=g:backupdir
set backup " create backup for files
set backupcopy=yes " copy the original file to backupdir and overwrite it set backupcopy=yes " copy the original file to backupdir and overwrite it
" General tab settings " General tab settings