dotfiles/emacs/.emacs.modular/config/init-dashboard.el

20 lines
500 B
EmacsLisp
Raw Normal View History

;; A neat dashboard when you open Emacs
(use-package dashboard
:demand t
:config
(dashboard-setup-startup-hook)
:general
('normal dashboard-mode-map
"TAB" #'widget-forward
"<tab>" #'widget-forward
"<backtab>" #'widget-backward
"RET" #'dashboard-return
"?" #'describe-mode
"gr" #'dashboard-refresh-buffer
"q" #'quit-window
"r" #'dashboard-jump-to-recent-files
"{" #'dashboard-previous-section
"}" #'dashboard-next-section))
(provide 'init-dashboard)