   )
 
 
-(use-package hydra
-  :defer 2
-  :bind ("M-F" . hydra-flyspell/body))
-
 (defhydra hydra-flyspell (:color blue :hint nil)
   "
 .: Flyspell :.

  )


(use-package hydra
  :defer 1
  :bind ("M-f" . hydra-flycheck/body))

(defhydra hydra-flycheck (:color blue)
  "
.: Flycheck :.


_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)
  )


(defhydra hydra-yasnippet (:color blue :hint nil)
  "
