         (magit-refresh))
       (define-key magit-status-mode-map (kbd "W") 'magit-toggle-whitespace))))
 
+(defun spacemacs/init-magit-gitflow ()
+  (use-package magit-gitflow
+    :commands turn-on-magit-gitflow
+    :init
+    (add-hook 'magit-mode-hook 'turn-on-magit-gitflow)))
+
 (defun spacemacs/init-markdown-mode ()
   (use-package markdown-mode
     :mode ("\\.md" . markdown-mode)))

          `(lambda () (interactive)
             (spacemacs/escape-state
              ',seq nil t nil 'abort-recursive-edit nil 'evil-ex-delete-backward-char)))
        (define-key evil-insert-state-map key
          `(lambda () (interactive)
             (let ((insertf (if (eq 'term-mode major-mode)

        (define-key evil-visual-state-map key
          `(lambda () (interactive)
             (spacemacs/escape-state ',seq ',shadowed nil nil 'evil-exit-visual-state)))
        (define-key evil-motion-state-map key
          `(lambda () (interactive)
             (spacemacs/escape-state ',seq ',shadowed nil nil 'evil-normal-state)))
