Moved session saving code from vimrc