Optionally save when switching out of vim
Add initial doc file, update autosave code