Skip to content

Commit

Permalink
change(dashboard): hide projects, bookmarks and always refresh
Browse files Browse the repository at this point in the history
winny- committed Dec 9, 2024
1 parent 644441b commit 4101ea5
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions configuration.org
Original file line number Diff line number Diff line change
@@ -2354,16 +2354,14 @@ Show a nice screen when emacs starts up or creates a new fram.
("n" . dashboard-next-line))
:init
(setq ;;initial-buffer-choice (lambda () (get-buffer "*dashboard*"))
dashboard-items '((projects . 5)
(recents . 5)
(bookmarks . 5))
dashboard-item-shortcuts '((projects . "j")
(recents . "r")
(bookmarks . "m")
(agenda . "a")
(registers . "e"))
dashboard-image-banner-max-height 50
dashboard-image-banner-max-width 50)
dashboard-items '((recents . 15))
dashboard-item-shortcuts '((projects . "j")
(recents . "r")
(bookmarks . "m")
(agenda . "a")
(registers . "e"))
dashboard-image-banner-max-height 50
dashboard-image-banner-max-width 50)

;; Add the hook to startup, but... See second line.
(dashboard-setup-startup-hook)
@@ -2376,7 +2374,8 @@ Show a nice screen when emacs starts up or creates a new fram.
(let ((buffer "*dashboard*"))
(when (not (get-buffer buffer))
(dashboard-insert-startupify-lists))
(switch-to-buffer buffer))))
(switch-to-buffer buffer)
(revert-buffer))))
#+END_SRC

* General keybinds

0 comments on commit 4101ea5

Please sign in to comment.