 _o_ delete others       _y_ redo          _f_ toggle follow mode
 ^^                      ^^                _s_ swap
 "
-    ("q" nil)
-    ;; Navigation
-    ("<left>" windmove-left)
-    ("<down>" windmove-down)
-    ("<up>" windmove-up)
-    ("<right>" windmove-right)
-    ;; Resize
-    ("p" enlarge-window-horizontally)
-    ("m" shrink-window-horizontally)
-    ("C-p" enlarge-window)
-    ("C-m" shrink-window)
-    ;; Split
-    ("v" (lambda ()
-           (interactive)
-           (split-window-right)
-           (windmove-right))
-     )
-    ("h" (lambda ()
-           (interactive)
-           (split-window-below)
-           (windmove-down))
-     )
-    ;; Delete
-    ("k" delete-window)
-    ("o" delete-other-windows)
-    ;; Undo/Redo
-    ("z" (progn
-           (winner-undo)
-           (setq this-command 'winner-undo))
-     )
-    ("y" winner-redo)
-    ;; Misc
-    ("f" follow-mode :color blue)
-    ("a" (lambda ()
-           (interactive)
-           (ace-window 1)
-           (add-hook 'ace-window-end-once-hook
-                     'hydra-window/body)))
-    ("s" ace-swap-window))
-  )
-
-
-(use-package hydra
-  :bind ("M-y" . hydra-yasnippet/body))
+  ("q" nil)
+  ;; Navigation
+  ("<left>" windmove-left)
+  ("<down>" windmove-down)
+  ("<up>" windmove-up)
+  ("<right>" windmove-right)
+  ;; Resize
+  ("p" enlarge-window-horizontally)
+  ("m" shrink-window-horizontally)
+  ("C-p" enlarge-window)
+  ("C-m" shrink-window)
+  ;; Split
+  ("v" (lambda ()
+         (interactive)
+         (split-window-right)
+         (windmove-right))
+   )
+  ("h" (lambda ()
+         (interactive)
+         (split-window-below)
+         (windmove-down))
+   )
+  ;; Delete
+  ("k" delete-window)
+  ("o" delete-other-windows)
+  ;; Undo/Redo
+  ("z" (progn
+         (winner-undo)
+         (setq this-command 'winner-undo))
+   )
+  ("y" winner-redo)
+  ;; Misc
+  ("f" follow-mode :color blue)
+  ("a" (lambda ()
+         (interactive)
+         (ace-window 1)
+         (add-hook 'ace-window-end-once-hook
+                   'hydra-window/body)))
+  ("s" ace-swap-window)
+  )
+
 
 (defhydra hydra-yasnippet (:color blue :hint nil)
   "

  )


(use-package hydra
  :defer 2
  :bind ("M-F" . hydra-flyspell/body))

(defhydra hydra-flyspell (:color blue :hint nil)
  "
.: Flyspell :.


;;; Code:

(require 'use-package)

(prelude-require-package 'hydra)


(use-package hydra
  :defer 0.5
  :bind (("M-w" . hydra-window/body)
         ("M-s" . hydra-smartparens/body)
         ("M-m" . hydra-magit/body)
         ("M-y" . hydra-yasnippet/body)
         ("M-f" . hydra-flycheck/body)
         ("M-F" . hydra-flyspell/body))
  )


(defhydra hydra-magit (:color blue :hint nil)
  "
.: Magit :.

_q_ quit

^New/Clone^       ^Actions^
^---------^-------^-------^----------------------------------------------------
_i_ init          _s_ status
_c_ clone         _b_ blame
  "
  ("q" nil)
  ;; New/Clone
  ("i" magit-init)
  ("c" magit-clone)
  ("s" magit-status)
  ("b" magit-blame)
  )


(defhydra hydra-smartparens (:hint nil)
  "
.: Smartparens :.

_q_ quit
