   (evil-org-agenda-set-keys))
 
 (use-package org-bullets
-  :hook (( org-mode ) . org-bullets-mode))
+  :hook (org-mode . org-bullets-mode))
 
 ;; TODO:
 ;; recommended by rustic install docs


(use-package yasnippet
  :commands ( yas-expand-snippet )
  :general
  ("<s-return>" #'yas-expand)
  (:prefix "C-c"

                (evil-insert-state)
                (goto-char p)
                (set-mark m))))
  :config
  (define-key yas-minor-mode-map (kbd "<tab>") nil) ; don't use <tab>
  (define-key yas-minor-mode-map (kbd "TAB") nil))   ; don't use TAB

(use-package flycheck
  :hook (prog-mode . flycheck-mode)
  :custom
  (flycheck-disabled-checkers '(emacs-lisp-checkdoc))
  (flycheck-mode-line-prefix "☑")
  (flycheck-idle-change-delay 3)     ;; default of 0.5s is too noisy
  :general
  (:prefix "C-c"
           "!"  '(:ignore t :which-key "Flycheck→" )))

(use-package flycheck-pos-tip
  :hook (flycheck-mode . flycheck-pos-tip-mode)
  :custom
  (flycheck-pos-tip-timeout 3))

;; enable code folding (evil has bindings)
(use-package hideshow
  :hook (prog-mode . hs-minor-mode)
  :general
  (:prefix "C-c"
           "@" '(:ignore t :which-key "HideShow→" )))

(use-package avy
  :commands ( avy-goto-word-1 avy-goto-char-2 avy-goto-char-in-line )
