From e6ea0611eec945b0822fd976853ab035d5f17c8e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 21 Jun 2021 23:03:56 -0700 Subject: [oni-core] Add dashboard --- oni-core.el | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/oni-core.el b/oni-core.el index 0ce6bc8..1e60b34 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.0425.175742 -;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview) +;; 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 dashboard) ;; 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 @@ -145,11 +145,9 @@ _s_: String list" (setq electric-pair-skip-whitespace 'chomp) (setq fit-window-to-buffer-horizontally t) -(setq initial-major-mode 'org-mode) -(setq initial-scratch-message "# This buffer is for text that is not saved. -# To create a file, visit it with [[help:find-file][find-file]] and enter text in its buffer. - -") +(require 'dashboard) +(dashboard-setup-startup-hook) +(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))) ;; Increase the threshold for garbage collection for increased performance. ;; Apparently there are some (lsp-mode for example) packages that generate a lot -- cgit v1.2.3-54-g00ecf