Auto create undodir [Close #103]

This commit is contained in:
yan 2012-06-02 11:06:32 -07:00
parent 8bca30bff3
commit fc3f4f337a

1
vimrc
View File

@ -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