   :diminish)
 
 (use-package magit
+  :after evil
   :init
   (setq magit-completing-read-function 'ivy-completing-read    ; use ivy
         vc-handled-backends nil)                               ; magit does everything needed

    ("<f9> l"     #'magit-log-current)
    ("<f9> f"     #'magit-log-buffer-file)
    ("<f9> <f9>"  #'magit-status)
  :config
  (use-package evil-magit
    :demand
    :init
    (setq evil-magit-state 'normal)))

;; Cowboy override of git-timemachine-mode-map
;; Timemachine's map has a number of bindings which

                  finder-mode-hook
                  doc-view-mode-hook
                  image-mode-hook
                  image-dired-thumbnail-mode-hook))
           (add-hook hook #'evil-emacs-state))

  ;; Put view-mode in motion-state, this gives us motion
