set undodir=~/.undo has to be created manually, turns out.