aboutsummaryrefslogtreecommitdiff
path: root/options.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2019-11-16 16:36:41 +0800
committerGitHub <noreply@github.com>2019-11-16 16:36:41 +0800
commit349f1668f041946be1351a63f4736ca384cb8c84 (patch)
tree6b0859800a2f18eb2f49ff0495b315bd8cce5b66 /options.vim
parent98bb1cc8acafaf6d8ebd341d12d78c13605bb09a (diff)
Update backupcopy option
Diffstat (limited to 'options.vim')
-rw-r--r--options.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.vim b/options.vim
index 86b219d..f9d9b92 100644
--- a/options.vim
+++ b/options.vim
@@ -30,6 +30,8 @@ if !isdirectory(g:backupdir)
endif
let &backupdir=g:backupdir
+set backupcopy=yes " copy the original file to backupdir and overwrite it
+
" General tab settings
set tabstop=4 " number of visual spaces per TAB
set softtabstop=4 " number of spaces in tab when editing