 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; savehist ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (use-package savehist
-  :defer 2
+  :defer 10
   :config
   (setq savehist-additional-variables
         '(search-ring regexp-search-ring kill-ring compile-history)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; recentf ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package recentf
  :defer 2
  :config
  (setq recentf-max-saved-items 200
        recentf-max-menu-items 12

  (use-package with-editor)
  (global-magit-file-mode 1)
  (magit-auto-revert-mode 0)
  ;; add this as of magit 2.4.0
  ;; (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
  ;; add ido shortcut
  (if (version< emacs-version "25.1")
      (add-hook
