Add dashboard

This commit is contained in:
g1n 2021-05-03 11:03:03 +03:00
parent 5a653ffac3
commit 7d8ccf2f3f
2 changed files with 14 additions and 0 deletions

2
.gitignore vendored
View File

@ -3,5 +3,7 @@ elpa
auto-save-list
url
ido.last
recentf
eshell
*#
*~

12
init.el
View File

@ -117,3 +117,15 @@
(require 'elpher)
(elpher-go url))
(t (funcall original url new-window))))
; dashboard
(require 'dashboard)
(dashboard-setup-startup-hook)
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))
(setq dashboard-startup-banner "~/images/emacs-icon.png")
(setq dashboard-center-content t)
(setq dashboard-items '((recents . 5)
(bookmarks . 5)
;(projects . 5) ;; have't install projectile yet
(agenda . 5)
(registers . 5)))