   (progn
     (setq compilation-scroll-output t
           compilation-auto-jump-to-first-error t
+          compilation-skip-threshold 2
           compilation-ask-about-save nil)    ; save all modified
     (setq compilation-finish-functions
           (lambda (buf str)
+            (compilation-set-skip-threshold 1)
             (if (null (string-match ".*exited abnormally.*" str))
                 ;;if no errors, make the compilation window go away in a few seconds
                 ;;if errors, make it full sized

          "g" #'evil-avy-goto-char-2
          "l" #'evil-avy-goto-char-in-line
          "m" #'projectile-compile-project
          "r" #'recompile
          "s" #'me:use-evil-selection-register
          "v" #'exchange-point-and-mark

                          (t 120)))
  (whitespace-mode -1)
  (whitespace-mode))
(defun me:switch-to-compile-buffer ()
  (interactive)
  (switch-to-buffer "*compilation*"))

(global-set-key (kbd "s-1") #'helm-projectile-find-other-file)
(global-set-key (kbd "s-2") #'me:select-1st-other-buffer)
