Save on leaving the buffer

Note that FocusLost is only got GUI version of vim.