aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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