1
0
Fork 0

[oni-core] Add dashboard

This commit is contained in:
Tom Willemse 2021-06-21 23:03:56 -07:00
parent 2609dbab87
commit e6ea0611ee

View file

@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2021.0425.175742 ;; Version: 2021.0621.230313
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview) ;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview dashboard)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by ;; it under the terms of the GNU General Public License as published by
@ -145,11 +145,9 @@ _s_: String list"
(setq electric-pair-skip-whitespace 'chomp) (setq electric-pair-skip-whitespace 'chomp)
(setq fit-window-to-buffer-horizontally t) (setq fit-window-to-buffer-horizontally t)
(setq initial-major-mode 'org-mode) (require 'dashboard)
(setq initial-scratch-message "# This buffer is for text that is not saved. (dashboard-setup-startup-hook)
# To create a file, visit it with [[help:find-file][find-file]] and enter text in its buffer. (setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))
")
;; Increase the threshold for garbage collection for increased performance. ;; Increase the threshold for garbage collection for increased performance.
;; Apparently there are some (lsp-mode for example) packages that generate a lot ;; Apparently there are some (lsp-mode for example) packages that generate a lot