         ivy-dynamic-exhibit-delay-ms 200                    ; dynamic collection delay
         ivy-re-builders-alist
            '((t . ivy--regex-ignore-order)))                ; allow input not in order
-  :diminish (ivy-mode . ""))
+  :config
+  (ivy-mode 1))
 
 (use-package ivy-hydra
   :commands (ivy-hydra/body)



(use-package flycheck
  :diminish ( flycheck-mode . "﹏")
  :init
  (setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))
  (me:add-hook-with-delay 'prog-mode-hook 3 #'flycheck-mode)
  :general
  (:prefix "C-c"

  (fset 'yes-or-no-p 'y-or-n-p)                               ; change stupid default y/n? y
  (make-directory me:emacs-backup-directory t)                ; make sure backup dir exists
  (electric-indent-mode +1)                                   ; turn on electric mode globally (electric)
  (delete-selection-mode t)                                   ; pastes delete selection
  (run-at-time "1 hour" 3600 #'clean-buffer-list))            ; clear out old buffers every hour (midnight)

;; Reset all buffer's mode line to the default one
(defun me:reset-mode-lines ()
  (mapc (lambda (buffer)
          (if (or (buffer-file-name buffer)
                  (not (equal (substring (buffer-name buffer) 0 1) " ")))
              (with-current-buffer buffer
                (kill-local-variable 'mode-line-format)
                (force-mode-line-update t))))
      (buffer-list)))

;; Run programming mode hooks
;; This is used for modes which should trigger programming mode hooks
