[oni-core] Use ‘org-mode’ for the initial scratch buffer
This commit is contained in:
parent
cd8565d9bd
commit
1e974046c5
1 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue