From 92cbdb002c4697322b1452f37be2ef432425d796 Mon Sep 17 00:00:00 2001 From: Guillaume DOTT Date: Tue, 6 Nov 2012 17:06:02 +0100 Subject: [PATCH] vim: moved backup dir in .vim/tmp --- vim/vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 542db76..dc2272d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -73,12 +73,12 @@ set undolevels=150 set backup -if filewritable(expand("~/.vim/backup")) == 2 - set backupdir=$HOME/.vim/backup +if filewritable(expand("~/.vim/tmp/backup")) == 2 + set backupdir=$HOME/.vim/tmp/backup else if has("unix") || has("win32unix") - call system("mkdir $HOME/.vim/backup -p") - set backupdir=$HOME/.vim/backup + call system("mkdir $HOME/.vim/tmp/backup -p") + set backupdir=$HOME/.vim/tmp/backup endif endif