1
0
Fork 0

[oni-core] Use ‘org-mode’ for the initial scratch buffer

This commit is contained in:
Tom Willemse 2021-04-25 17:53:21 -07:00
parent cd8565d9bd
commit 1e974046c5

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2021.0425.174950
;; Version: 2021.0425.175316
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview)
;; This program is free software; you can redistribute it and/or modify
@ -137,6 +137,12 @@ _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.
")
;; Increase the threshold for garbage collection for increased performance.
;; Apparently there are some (lsp-mode for example) packages that generate a lot
;; of garbage.