Added the vitality plugin to autosave in terminal when focus lost.