[oni-core] Show a random tip in my initial scratch message
These tips come from “Pragmatic Thinking and Learning: Refactor Your Wetware” by Andy Hunt[1] [1]: https://pragprog.com/titles/ahptl/pragmatic-thinking-and-learning/
This commit is contained in:
parent
04be0ce1fe
commit
6793848975
1 changed files with 20 additions and 19 deletions
39
oni-core.el
39
oni-core.el
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2022.1113.165538
|
||||
;; Version: 2022.1113.230412
|
||||
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
|
@ -157,24 +157,25 @@ _s_: String list"
|
|||
;; https://github.com/novoid/dot-emacs/blob/23c28944f1991c636ea71ec7d5c3d266e6dbeb8a/config.org#deletes-duplicate-entries-of-the-history-of-the-minibuffer
|
||||
(setq history-delete-duplicates t)
|
||||
|
||||
;; (setq dashboard-footer-messages
|
||||
;; '("Play more in order to learn more"
|
||||
;; "Learn from similarities, unlearn from differences"
|
||||
;; "Explore, invent, and apply in your environment - safely"
|
||||
;; "See without judging and then act"
|
||||
;; "Give yourself permission to fail; it’s the path to success"
|
||||
;; "Groove your mind for success"
|
||||
;; "Learn to focus"
|
||||
;; "Make thinking time"
|
||||
;; "Use a wiki to manage information and knowledge"
|
||||
;; "Establish rules of engagement to manage interruptions"
|
||||
;; "Send less email, and you’ll receive less email"
|
||||
;; "Choose your own tempo for an email conversation"
|
||||
;; "Mask interrupts to maintain focus"
|
||||
;; "Use multiple monitors to avoid context switching"
|
||||
;; "Optimize your personal workflow to maximize context"
|
||||
;; "Grab the wheel. You can’t steer on autopilot"
|
||||
;; "Can it be simpler?"))
|
||||
(let ((tips '("Play more in order to learn more"
|
||||
"Learn from similarities, unlearn from differences"
|
||||
"Explore, invent, and apply in your environment - safely"
|
||||
"See without judging and then act"
|
||||
"Give yourself permission to fail; it’s the path to success"
|
||||
"Groove your mind for success"
|
||||
"Learn to focus"
|
||||
"Make thinking time"
|
||||
"Use a wiki to manage information and knowledge"
|
||||
"Establish rules of engagement to manage interruptions"
|
||||
"Send less email, and you’ll receive less email"
|
||||
"Choose your own tempo for an email conversation"
|
||||
"Mask interrupts to maintain focus"
|
||||
"Use multiple monitors to avoid context switching"
|
||||
"Optimize your personal workflow to maximize context"
|
||||
"Grab the wheel. You can’t steer on autopilot"
|
||||
"Can it be simpler?")))
|
||||
(setq initial-scratch-message
|
||||
(concat initial-scratch-message ";; " (seq-random-elt tips) "\n\n")))
|
||||
|
||||
;; Increase the threshold for garbage collection for increased performance.
|
||||
;; Apparently there are some (lsp-mode for example) packages that generate a lot
|
||||
|
|
Loading…
Reference in a new issue