keep undo history between sessions
fix 'undodir' setting
add .gitignore