 (defvar vimgolf-start-buffer-name "*vimgolf-start*")
 (defvar vimgolf-end-buffer-name "*vimgolf-end*")
 (defvar vimgolf-keystrokes-buffer-name "*vimgolf-keystrokes*")
+(defvar vimgolf-keystrokes-log-buffer-name "*vimgolf-keystrokes-log*")
 
 (defun point-min-in-buffer (buffer)
   (with-current-buffer buffer

                     vimgolf-pause
                     vimgolf-quit)))))

(defun vimgolf-capture-keystroke ()
  (vimgolf-with-saved-command-environment
   (when (vimgolf-capturable-keystroke-p)

    (vimgolf-mode t)))

(defun vimgolf-kill-existing-session ()
  (when (get-buffer vimgolf-start-buffer-name) (kill-buffer vimgolf-start-buffer-name))
  (when (get-buffer vimgolf-work-buffer-name) (kill-buffer vimgolf-work-buffer-name))
  (when (get-buffer vimgolf-end-buffer-name) (kill-buffer vimgolf-end-buffer-name))
  (when (get-buffer vimgolf-keystrokes-buffer-name) (kill-buffer vimgolf-keystrokes-buffer-name))
  (when (get-buffer vimgolf-keystrokes-log-buffer-name) (kill-buffer vimgolf-keystrokes-log-buffer-name)))

;;;###autoload
(defun vimgolf (challenge-id)
