 
 (use-package dashboard
   :ensure t
+  :init
+  (add-hook 'after-init-hook 'dashboard-setup-startup-hook)
   :config
   (setq dashboard-items '((recents   . 5)
-                          (bookmarks . 5)
-                          (projects  . 5)
-                          (agenda    . 10)
-                          (registers . 5))
+                          ;;(bookmarks . 5)
+                          (projects  . 5))
+                          ;;(agenda    . 10)
+                          ;;(registers . 5))
         dashboard-banner-logo-title "Welcome to MDS Emacs"
-        dashboard-startup-banner dashboard-banner-logo-png)
-  (dashboard-setup-startup-hook))
+        dashboard-startup-banner dashboard-banner-logo-png))
 
 (use-package all-the-icons
   :ensure t

  :init
  (add-hook 'after-init-hook 'volatile-highlights-mode))

(use-package git-gutter
  :ensure t
  :diminish git-gutter-mode
  :commands git-gutter-mode
  :init
  (defun git-gutter-maybe ()
    (when (and (buffer-file-name)
               (not (file-remote-p (buffer-file-name))))
      (git-gutter-mode +1)))
  (add-hook 'prog-mode-hook 'git-gutter-maybe)
  (add-hook 'text-mode-hook 'git-gutter-maybe)
  (add-hook 'org-mode-hook  'git-gutter-maybe))

(use-package git-gutter-fringe
  :ensure t
  :after git-gutter
  :config
  (setq git-gutter-fr:side 'right-fringe
        git-gutter:update-interval 0)
  (add-hook 'focus-in-hook 'git-gutter:update-all-windows)
  (add-hook 'git-gutter:update-hooks 'magit-revert-buffer-hook)
  (add-hook 'git-gutter:update-hooks 'magit-after-revert-hook)
  (add-hook 'git-gutter:update-hooks 'magit-not-reverted-hook))

(use-package emojify
  :ensure t

  :init
  (add-hook 'prog-mode-hook 'highlight-thing-mode)
  :config
  (setq highlight-thing-delay-seconds 0
        highlight-thing-exclude-thing-under-point t
        highlight-thing-case-sensitive-p t)
  (set-face-attribute 'highlight-thing nil
                      :foreground "gold"
                      :background "#23272e"))
