          ))
   ("x" +workspace/close-window-or-workspace)
   ("X" +workspace/close-window-or-workspace :color blue)
+  ("c" ace-delete-window)
   ("1" delete-other-windows :color blue)
   ("f" +ivy/projectile-find-file :color blue)
   ("F" counsel-fzf :color blue)   
   ("b" counsel-projectile-switch-to-buffer :color blue)
   ("B" ivy-switch-buffer :color blue)
   ("t" projectile-toggle-between-implementation-and-test :color blue)
+  ("<" evil-window-decrease-width)
+  (">" evil-window-increase-width)
+  ("+" evil-window-increase-height)
+  ("-" evil-window-decrease-height)
+  ("=" balance-windows)
   ("q" nil "quit")
   )
 

  ("j" windmove-down) 
  ("k" windmove-up) 
  ("l" windmove-right) 
  ("v" (lambda ()
         (interactive)
         (split-window-right)
         (windmove-right)
         "vert"
         ))
  ("-" (lambda ()
         (interactive)
         (split-window-below)
         (windmove-down)


(defhydra hydra-jump ()
  "jump"
  ("o" #'avy-goto-word-1 :color blue)
  ("p" #'avy-goto-word-0 :color blue)
  ("i" #'avy-goto-symbol-1 :color blue)
  ("l" #'(lambda ()
           (interactive)
           (avy-goto-line)
           (recenter)))
  ("s" evil-snipe-s)
  ("S" evil-snipe-S)
  ("f" evil-snipe-f)
  ("F" evil-snipe-F)
  ("j" evil-snipe-repeat)
  ("k" evil-snipe-repeat-reverse)
  ("q" doom/escape :color blue)
  ) 

(setq evil-repeat-keys nil)                                                 
(define-key evil-normal-state-map [remap evil-snipe-s]  #'hydra-jump/body) ;; Remap evil-snip-s to hydra-snipe/body

(defhydra hydra-comment ()
  "comment"
  ("l" comment-line)
  ("d" comment-dwim)
  ("b" comment-box :color blue)
  ("r" comment-or-uncomment-region :colur blue)
  ("q" doom/escape :color blue)
  )

(define-key evil-normal-state-map (kbd ",c") #'hydra-comment/body)
(define-key evil-visual-state-map (kbd ",c") #'hydra-comment/body)

(defhydra hydra-select ()
  "select"
  ("s" er/expand-region)
  ("q" doom/escape :color blue)
  )

(define-key evil-normal-state-map (kbd ",s") #'hydra-select/body)

(whitespace-mode -1)
