20 lines
500 B
EmacsLisp
20 lines
500 B
EmacsLisp
|
;; 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)
|