diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-08-26 16:01:15 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-08-26 16:01:15 +0100 |
commit | d9e2d08549c313375d261e7dc2dbb8f895b0a137 (patch) | |
tree | 6b8cdfd678ad9ba9e0d6b5c22d337e288405a6e4 | |
parent | a5534623ef21b0dfccd86e9a10216f89732288d6 (diff) | |
download | dotfiles-d9e2d08549c313375d261e7dc2dbb8f895b0a137.tar.gz |
Add some startup optimisations
-rw-r--r-- | .emacs.d/early-init.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index 93e35a2..c435c27 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -5,6 +5,8 @@ (setq gc-cons-threshold most-positive-fixnum gc-cons-percentage 0.6) +(setq load-prefer-newer nil) + (push '(menu-bar-lines . 0) default-frame-alist) (push '(tool-bar-lines . 0) default-frame-alist) (push '(vertical-scroll-bars) default-frame-alist) @@ -22,4 +24,20 @@ ; (setq comp-deferred-compilation nil) +;; Some optimizations from doom.el (some of these probably don't belong here!) +(setq auto-mode-case-fold nil) +(setq-default bidi-display-reordering 'left-to-right + bidi-paragraph-direction 'left-to-right) +(setq bidi-inhibit-bpa t) +(setq-default cursor-in-non-selected-windows nil) +(setq highlight-nonselected-windows nil) +(setq fast-but-imprecise-scrolling t) +(setq ffap-machine-p-known 'reject) +(setq idle-update-delay 1.0) +(setq inhibit-compacting-font-caches t) +(setq redisplay-skip-fontification-on-input t) + +(define-advice load-file (:override (file) silence) + (load file nil :nomessage)) + ;;; early-init.el ends here |