Save current buffer when compiling by hotkey