;; -*- lexical-binding: t; -*- ;; A neat dashboard when you open Emacs (use-package dashboard :demand t :config (when (file-exists-p (expand-file-name "~/Sync/pictures/hallows.png")) (setq dashboard-startup-banner (expand-file-name "~/Sync/pictures/hallows.png"))) (dashboard-setup-startup-hook) :general ('normal dashboard-mode-map "TAB" #'widget-forward "" #'widget-forward "" #'widget-backward "RET" #'dashboard-return "?" #'describe-mode "gr" #'dashboard-refresh-buffer "q" #'quit-window "r" #'dashboard-jump-to-recent-files "p" #'dashboard-jump-to-projects "{" #'dashboard-previous-section "}" #'dashboard-next-section) :custom (dashboard-items '((recents . 5) (projects . 5))) (dashboard-set-heading-icons t) (dashboard-set-file-icons t) (dashboard-set-navigator t)) (provide 'init-dashboard)