vim: moved backup dir in .vim/tmp

master
Guillaume DOTT 2012-11-06 17:06:02 +01:00
parent 5dd2c00036
commit 92cbdb002c
1 changed files with 4 additions and 4 deletions

View File

@ -73,12 +73,12 @@ set undolevels=150
set backup set backup
if filewritable(expand("~/.vim/backup")) == 2 if filewritable(expand("~/.vim/tmp/backup")) == 2
set backupdir=$HOME/.vim/backup set backupdir=$HOME/.vim/tmp/backup
else else
if has("unix") || has("win32unix") if has("unix") || has("win32unix")
call system("mkdir $HOME/.vim/backup -p") call system("mkdir $HOME/.vim/tmp/backup -p")
set backupdir=$HOME/.vim/backup set backupdir=$HOME/.vim/tmp/backup
endif endif
endif endif