sessionmatic.vim is a really simple script that takes care of your sessions for you:
- When you run Vim from a directory where there is a readable
Session.vimfile sessonmatic.vim will source it. - When you close Vim and there is a writtable
Session.vimfile in the working directory sessionmatic.vim will save it.
You must create your desired sessions using the standard
:mksession command. You must also set your preferred
sessionoptions.