Added undofile and folding settings.