Moved session saving code from vimrc to functions.vim