From fc3f4f337a09e1a1571c8325e5d65c37c1c0ea95 Mon Sep 17 00:00:00 2001 From: yan Date: Sat, 2 Jun 2012 11:06:32 -0700 Subject: [PATCH] Auto create undodir [Close #103] --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index e6ad1f0..63f8492 100644 --- a/vimrc +++ b/vimrc @@ -51,6 +51,7 @@ set nowb " Keep undo history across sessions, by storing in file. " Only works all the time. +silent !mkdir ~/.vim/backups > /dev/null 2>&1 set undodir=~/.vim/backups set undofile